From 533a845b0f1fdc615bde8707015bb7a31aef46da Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Thu, 22 Oct 2020 18:46:27 +0100 Subject: [PATCH] Name further functions --- src/openrct2/paint/Paint.h | 4 +- src/openrct2/paint/PaintHelpers.cpp | 4 +- src/openrct2/paint/sprite/Paint.Misc.cpp | 2 +- .../coaster/AirPoweredVerticalCoaster.cpp | 82 +- .../ride/coaster/BobsleighCoaster.cpp | 1186 ++--- .../ride/coaster/BolligerMabillardTrack.cpp | 2074 ++++----- .../ride/coaster/CompactInvertedCoaster.cpp | 1232 +++--- .../ride/coaster/CorkscrewRollerCoaster.cpp | 1446 +++--- .../ride/coaster/FlyingRollerCoaster.cpp | 2536 +++++------ src/openrct2/ride/coaster/GigaCoaster.cpp | 1620 +++---- .../ride/coaster/HeartlineTwisterCoaster.cpp | 570 +-- src/openrct2/ride/coaster/HybridCoaster.cpp | 1774 ++++---- .../ride/coaster/InvertedHairpinCoaster.cpp | 218 +- .../ride/coaster/InvertedImpulseCoaster.cpp | 126 +- .../ride/coaster/InvertedRollerCoaster.cpp | 1360 +++--- .../ride/coaster/JuniorRollerCoaster.cpp | 8 +- .../ride/coaster/LayDownRollerCoaster.cpp | 2348 +++++----- .../ride/coaster/LimLaunchedRollerCoaster.cpp | 364 +- .../ride/coaster/LoopingRollerCoaster.cpp | 1570 +++---- src/openrct2/ride/coaster/MineRide.cpp | 934 ++-- .../ride/coaster/MineTrainCoaster.cpp | 1184 ++--- .../ride/coaster/MiniRollerCoaster.cpp | 1420 +++--- .../ride/coaster/MiniSuspendedCoaster.cpp | 228 +- .../coaster/MultiDimensionRollerCoaster.cpp | 2078 ++++----- .../ride/coaster/ReverseFreefallCoaster.cpp | 24 +- .../ride/coaster/ReverserRollerCoaster.cpp | 248 +- .../coaster/SideFrictionRollerCoaster.cpp | 726 +-- .../ride/coaster/StandUpRollerCoaster.cpp | 938 ++-- src/openrct2/ride/coaster/Steeplechase.cpp | 180 +- .../ride/coaster/SuspendedSwingingCoaster.cpp | 554 +-- src/openrct2/ride/coaster/WildMouse.cpp | 48 +- .../ride/coaster/WoodenRollerCoaster.cpp | 3892 ++++++++--------- src/openrct2/ride/coaster/WoodenWildMouse.cpp | 38 +- src/openrct2/ride/gentle/GhostTrain.cpp | 22 +- .../ride/transport/MiniatureRailway.cpp | 42 +- .../ride/transport/SuspendedMonorail.cpp | 254 +- src/openrct2/ride/water/DingySlide.cpp | 122 +- src/openrct2/ride/water/LogFlume.cpp | 70 +- src/openrct2/ride/water/SplashBoats.cpp | 68 +- 39 files changed, 15797 insertions(+), 15797 deletions(-) diff --git a/src/openrct2/paint/Paint.h b/src/openrct2/paint/Paint.h index 8257fbc020..8f590f9fd0 100644 --- a/src/openrct2/paint/Paint.h +++ b/src/openrct2/paint/Paint.h @@ -244,11 +244,11 @@ paint_struct* PaintAddImageAsChild( paint_struct* sub_98196C_rotated( paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x, int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset); -paint_struct* sub_98197C_rotated( +paint_struct* PaintAddImageAsParentRotated( paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x, int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x, int16_t bound_box_offset_y, int16_t bound_box_offset_z); -paint_struct* sub_98199C_rotated( +paint_struct* PaintAddImageAsChildRotated( paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x, int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x, int16_t bound_box_offset_y, int16_t bound_box_offset_z); diff --git a/src/openrct2/paint/PaintHelpers.cpp b/src/openrct2/paint/PaintHelpers.cpp index c06a006c5c..233dff97ad 100644 --- a/src/openrct2/paint/PaintHelpers.cpp +++ b/src/openrct2/paint/PaintHelpers.cpp @@ -27,7 +27,7 @@ paint_struct* sub_98196C_rotated( } } -paint_struct* sub_98197C_rotated( +paint_struct* PaintAddImageAsParentRotated( paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x, int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x, int16_t bound_box_offset_y, int16_t bound_box_offset_z) @@ -46,7 +46,7 @@ paint_struct* sub_98197C_rotated( } } -paint_struct* sub_98199C_rotated( +paint_struct* PaintAddImageAsChildRotated( paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x, int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x, int16_t bound_box_offset_y, int16_t bound_box_offset_z) diff --git a/src/openrct2/paint/sprite/Paint.Misc.cpp b/src/openrct2/paint/sprite/Paint.Misc.cpp index d199835636..2bc0d678c8 100644 --- a/src/openrct2/paint/sprite/Paint.Misc.cpp +++ b/src/openrct2/paint/sprite/Paint.Misc.cpp @@ -142,7 +142,7 @@ void misc_paint(paint_session* session, const SpriteBase* misc, int32_t imageDir auto bb = isAntiClockwise ? antiClockWiseBoundingBoxes : clockWiseBoundingBoxes; - sub_98197C_rotated(session, ebx, imageId, 0, 0, 32, 1, 3, height, bb[ebx & 1].x, bb[ebx & 1].y, height); + PaintAddImageAsParentRotated(session, ebx, imageId, 0, 0, 32, 1, 3, height, bb[ebx & 1].x, bb[ebx & 1].y, height); break; } diff --git a/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp b/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp index 6d806858ae..8acd9db913 100644 --- a/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp +++ b/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp @@ -189,7 +189,7 @@ static void air_powered_vertical_rc_track_flat( }; uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -210,10 +210,10 @@ static void air_powered_vertical_rc_track_station( { SPR_AIR_POWERED_VERTICAL_RC_STATION_NW_SE, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height - 2, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height); @@ -334,12 +334,12 @@ static void air_powered_vertical_rc_track_flat_to_left_bank( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (direction == 0 || direction == 1) { imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -363,12 +363,12 @@ static void air_powered_vertical_rc_track_flat_to_right_bank( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (direction == 2 || direction == 3) { imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -517,11 +517,11 @@ static void air_powered_vertical_rc_track_left_bank( uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 1) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -551,7 +551,7 @@ static void air_powered_vertical_rc_track_brakes( }; uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -662,8 +662,8 @@ static void air_powered_vertical_rc_track_vertical_slope_up( { case 0: bbHeight = bbHeights12[trackSequence]; - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -679,14 +679,14 @@ static void air_powered_vertical_rc_track_vertical_slope_up( { bbHeight = bbHeights03[trackSequence]; - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); } else { bbHeight = bbHeights12[trackSequence]; - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -703,14 +703,14 @@ static void air_powered_vertical_rc_track_vertical_slope_up( if (isDirection03) { bbHeight = bbHeights03[trackSequence]; - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); } else { bbHeight = bbHeights12[trackSequence]; - sub_98197C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -731,11 +731,11 @@ static void air_powered_vertical_rc_track_vertical_slope_up( floorImageId = SPR_FLOOR_PLANKS | session->TrackColours[SCHEME_SUPPORTS]; } PaintAddImageAsParent(session, floorImageId, 0, 0, 26, 26, 126, height, 3, 3, height); - sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height); + PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height); } else { - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height); } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); paint_util_set_general_support_height(session, height + supportHeights[trackSequence], 0x20); @@ -743,13 +743,13 @@ static void air_powered_vertical_rc_track_vertical_slope_up( case 6: if (isDirection03) { - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); } else { - sub_98197C_rotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height); - sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height); + PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height); + PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -777,17 +777,17 @@ static void air_powered_vertical_rc_track_vertical_up( { case 0: imageId = imageIds[direction][0] | air_powered_vertical_rc_get_support_colour(session); - sub_98197C_rotated(session, direction, imageId, 0, 0, 26, 26, 79, height, 3, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 26, 26, 79, height, 3, 3, height); break; case 1: imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 0, 6, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 30, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 30, 6, height); } paint_util_set_vertical_tunnel(session, height + 80); @@ -828,24 +828,24 @@ static void air_powered_vertical_rc_track_vertical_top( imageIdT = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; if (direction == 0) { - sub_98197C_rotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height); - sub_98199C_rotated(session, direction, imageIdT, 0, 0, 31, 20, 15, height, 1, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 31, 20, 15, height, 1, 6, height); } else { - sub_98197C_rotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height); - sub_98199C_rotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height); } break; case 1: imageIdT = imageIds[direction][2] | session->TrackColours[SCHEME_TRACK]; if (direction == 0) { - sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height); } else { - sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height); } paint_util_set_vertical_tunnel(session, height + 80); break; @@ -853,11 +853,11 @@ static void air_powered_vertical_rc_track_vertical_top( imageIdT = imageIds[direction][3] | session->TrackColours[SCHEME_TRACK]; if (direction == 0) { - sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height); } else { - sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height); } paint_util_set_vertical_tunnel(session, height + 80); break; @@ -866,13 +866,13 @@ static void air_powered_vertical_rc_track_vertical_top( imageIdT = imageIds[direction][5] | session->TrackColours[SCHEME_TRACK]; if (direction == 0) { - sub_98197C_rotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height); - sub_98199C_rotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height); } else { - sub_98197C_rotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height); - sub_98199C_rotated(session, direction, imageIdT, 0, 0, 32, 20, 15, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 32, 20, 15, height, 0, 6, height); } break; } diff --git a/src/openrct2/ride/coaster/BobsleighCoaster.cpp b/src/openrct2/ride/coaster/BobsleighCoaster.cpp index f11c8d58a6..17b8accd3d 100644 --- a/src/openrct2/ride/coaster/BobsleighCoaster.cpp +++ b/src/openrct2/ride/coaster/BobsleighCoaster.cpp @@ -30,16 +30,16 @@ static void bobsleigh_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14576, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14578, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14577, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14579, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -54,16 +54,16 @@ static void bobsleigh_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14572, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14574, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14573, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14575, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -89,7 +89,7 @@ static void bobsleigh_rc_track_station( { 14581, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); sub_98196C_rotated( @@ -111,27 +111,27 @@ static void bobsleigh_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14634, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14638, 0, 0, 32, 1, 50, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14635, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14639, 0, 0, 32, 1, 50, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14636, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14640, 0, 0, 32, 1, 50, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14637, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14641, 0, 0, 32, 1, 50, height, 0, 27, height); break; } @@ -145,27 +145,27 @@ static void bobsleigh_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14610, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14614, 0, 0, 32, 1, 50, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14611, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14615, 0, 0, 32, 1, 50, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14612, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14616, 0, 0, 32, 1, 50, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14613, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14617, 0, 0, 32, 1, 50, height, 0, 27, height); break; } @@ -197,27 +197,27 @@ static void bobsleigh_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14618, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14622, 0, 0, 32, 1, 42, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14619, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14623, 0, 0, 32, 1, 42, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14620, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14624, 0, 0, 32, 1, 42, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14621, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14625, 0, 0, 32, 1, 42, height, 0, 27, height); break; } @@ -231,27 +231,27 @@ static void bobsleigh_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14594, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14598, 0, 0, 32, 1, 42, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14595, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14599, 0, 0, 32, 1, 42, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14596, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14600, 0, 0, 32, 1, 42, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14597, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14601, 0, 0, 32, 1, 42, height, 0, 27, height); break; } @@ -283,27 +283,27 @@ static void bobsleigh_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14626, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14630, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14627, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14631, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14628, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14632, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14629, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14633, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -317,27 +317,27 @@ static void bobsleigh_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14602, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14606, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14603, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14607, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14604, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14608, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14605, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14609, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -394,30 +394,30 @@ static void bobsleigh_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14707, 0, 2, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14727, 0, 2, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14712, 0, 2, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14732, 0, 2, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14717, 0, 2, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14737, 0, 2, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14702, 0, 2, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14722, 0, 2, 32, 20, 0, height, 0, 6, height + 27); break; @@ -438,32 +438,32 @@ static void bobsleigh_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14706, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14726, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14711, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14731, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14716, 0, 16, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14736, 0, 16, 32, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14701, 0, 16, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14721, 0, 16, 32, 16, 0, height, 0, 16, height + 27); break; @@ -479,33 +479,33 @@ static void bobsleigh_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14705, 0, 16, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14725, 0, 16, 16, 16, 0, height, 0, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14710, 16, 16, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14730, 16, 16, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14715, 16, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14735, 16, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14700, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14720, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; @@ -521,32 +521,32 @@ static void bobsleigh_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14704, 16, 0, 16, 34, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14724, 16, 0, 16, 34, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14709, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14729, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14714, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14734, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14699, 16, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14719, 16, 0, 16, 32, 0, height, 16, 0, height + 27); break; @@ -562,30 +562,30 @@ static void bobsleigh_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14703, 2, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14723, 2, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14708, 2, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14728, 2, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14713, 2, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14733, 2, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14698, 2, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14718, 2, 0, 30, 32, 0, height, 6, 0, height + 27); break; @@ -624,27 +624,27 @@ static void bobsleigh_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14642, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14646, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14643, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14647, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14644, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14648, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14645, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14649, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -666,27 +666,27 @@ static void bobsleigh_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14650, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14654, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14651, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14655, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14652, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14656, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14653, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14657, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -708,27 +708,27 @@ static void bobsleigh_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14652, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14656, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14653, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14657, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14650, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14654, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14651, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14655, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -750,27 +750,27 @@ static void bobsleigh_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14644, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14648, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14645, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14649, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14642, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14646, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14643, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14647, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -795,30 +795,30 @@ static void bobsleigh_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14747, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14767, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14752, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14772, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14757, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14777, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14742, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14762, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -839,32 +839,32 @@ static void bobsleigh_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14746, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14766, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14751, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14771, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14756, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14776, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14741, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14761, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; @@ -880,33 +880,33 @@ static void bobsleigh_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14745, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14765, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14750, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14770, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14755, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14775, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14740, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14760, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; @@ -922,32 +922,32 @@ static void bobsleigh_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14744, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14764, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14749, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14769, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14754, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14774, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14739, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14759, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; @@ -963,30 +963,30 @@ static void bobsleigh_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14743, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14763, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14748, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14768, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14753, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14773, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14738, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14758, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -1025,27 +1025,27 @@ static void bobsleigh_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14674, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14678, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14675, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14679, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14676, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14680, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14677, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14681, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1074,27 +1074,27 @@ static void bobsleigh_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14682, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14686, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14683, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14687, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14684, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14688, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14685, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14689, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1123,27 +1123,27 @@ static void bobsleigh_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14658, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14662, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14659, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14663, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14660, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14664, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14661, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14665, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1172,27 +1172,27 @@ static void bobsleigh_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14666, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14670, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14667, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14671, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14668, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14672, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14669, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14673, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1253,27 +1253,27 @@ static void bobsleigh_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14690, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14694, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14691, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14695, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14692, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14696, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14693, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14697, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1306,30 +1306,30 @@ static void bobsleigh_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14826, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14842, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14830, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14846, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14829, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14845, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14833, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14849, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; @@ -1347,34 +1347,34 @@ static void bobsleigh_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14827, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14843, 0, 0, 32, 26, 0, height, 0, 0, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14831, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14847, 0, 0, 32, 26, 0, height, 0, 0, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14828, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14844, 0, 0, 32, 26, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14832, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14848, 0, 0, 32, 26, 0, height, 0, 6, height + 27); break; @@ -1390,32 +1390,32 @@ static void bobsleigh_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14828, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14844, 0, 0, 32, 26, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14832, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14848, 0, 0, 32, 26, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14827, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14843, 0, 0, 32, 26, 0, height, 0, 0, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14831, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14847, 0, 0, 32, 26, 0, height, 0, 0, height + 27); metal_a_supports_paint_setup( @@ -1433,30 +1433,30 @@ static void bobsleigh_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14829, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14845, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14833, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14849, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14826, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14842, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14830, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14846, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; @@ -1489,30 +1489,30 @@ static void bobsleigh_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14834, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14850, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14838, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14854, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14837, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14853, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14841, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14857, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; @@ -1530,34 +1530,34 @@ static void bobsleigh_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14835, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14851, 0, 0, 32, 26, 0, height, 0, 6, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14839, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14855, 0, 0, 32, 26, 0, height, 0, 6, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14836, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14852, 0, 0, 32, 26, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14840, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14856, 0, 0, 32, 26, 0, height, 0, 0, height + 27); break; @@ -1573,32 +1573,32 @@ static void bobsleigh_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14836, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14852, 0, 0, 32, 26, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14840, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14856, 0, 0, 32, 26, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14835, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14851, 0, 0, 32, 26, 0, height, 0, 6, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14839, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14855, 0, 0, 32, 26, 0, height, 0, 6, height + 27); metal_a_supports_paint_setup( @@ -1616,30 +1616,30 @@ static void bobsleigh_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14837, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14853, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14841, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14857, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14834, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14850, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14838, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14854, 0, 0, 32, 27, 0, height, 0, 2, height + 27); break; @@ -1672,30 +1672,30 @@ static void bobsleigh_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14783, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14795, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14786, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14798, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14789, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14801, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14780, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14792, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -1716,33 +1716,33 @@ static void bobsleigh_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14782, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14794, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14785, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14797, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14788, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14800, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14779, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14791, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -1755,30 +1755,30 @@ static void bobsleigh_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14781, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14793, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14784, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14796, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14787, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14799, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14778, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14790, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -1820,30 +1820,30 @@ static void bobsleigh_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14807, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14819, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14810, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14822, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14813, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14825, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14804, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14816, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -1864,33 +1864,33 @@ static void bobsleigh_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14806, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14818, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14809, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14821, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14812, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14824, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14803, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14815, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -1903,30 +1903,30 @@ static void bobsleigh_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14805, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14817, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14808, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14820, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14811, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14823, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14802, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14814, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -1968,30 +1968,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14887, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14899, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14890, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14902, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14893, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14905, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14884, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14896, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -2013,33 +2013,33 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14886, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14898, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14889, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14901, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14892, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14904, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14883, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14895, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -2052,30 +2052,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14885, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14897, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14888, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14900, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14891, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14903, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14882, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14894, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -2099,30 +2099,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14884, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14896, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14887, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14899, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14890, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14902, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14893, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14905, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -2149,33 +2149,33 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14883, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14895, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14886, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14898, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14889, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14901, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14892, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14904, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; @@ -2188,30 +2188,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14882, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14894, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14885, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14897, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14888, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14900, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14891, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14903, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -2240,30 +2240,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14858, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14870, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14861, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14873, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14864, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14876, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14867, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14879, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -2285,33 +2285,33 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14859, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14871, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14862, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14874, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14865, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14877, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14868, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14880, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; @@ -2324,30 +2324,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14860, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14872, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14863, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14875, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14866, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14878, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14869, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14881, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -2371,30 +2371,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14861, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14873, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14864, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14876, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14867, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14879, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14858, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14870, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -2421,33 +2421,33 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14862, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14874, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14865, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14877, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14868, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14880, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14859, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14871, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -2460,30 +2460,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14863, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14875, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14866, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14878, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14869, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14881, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14860, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14872, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -2542,30 +2542,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14955, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14975, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14960, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14980, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14965, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14985, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14950, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14970, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -2587,32 +2587,32 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14954, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14974, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14959, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14979, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14964, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14984, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14949, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14969, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; @@ -2628,33 +2628,33 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14953, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14973, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14958, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14978, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14963, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14983, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14948, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14968, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; @@ -2670,32 +2670,32 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14952, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14972, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14957, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14977, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14962, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14982, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14947, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14967, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; @@ -2711,30 +2711,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14951, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14971, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14956, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14976, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14961, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14981, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14946, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14966, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -2758,30 +2758,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14950, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14970, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14955, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14975, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14960, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14980, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14965, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14985, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -2808,32 +2808,32 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14949, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14969, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14954, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14974, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14959, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14979, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14964, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14984, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; @@ -2849,33 +2849,33 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14948, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14968, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14953, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14973, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14958, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14978, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14963, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14983, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; @@ -2891,32 +2891,32 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14947, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14967, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14952, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14972, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14957, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14977, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14962, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14982, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; @@ -2932,30 +2932,30 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14946, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14966, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14951, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14971, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14956, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14976, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14961, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14981, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -2984,30 +2984,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14906, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14926, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14911, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14931, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14916, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14936, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14921, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14941, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -3029,32 +3029,32 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14907, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14927, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14912, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14932, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14917, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14937, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14922, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14942, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; @@ -3070,33 +3070,33 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14908, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14928, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14913, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14933, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14918, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14938, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14923, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14943, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; @@ -3112,32 +3112,32 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14909, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14929, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14914, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14934, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14919, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14939, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14924, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14944, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; @@ -3153,30 +3153,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14910, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14930, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14915, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14935, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14920, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14940, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14925, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14945, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -3200,30 +3200,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14911, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14931, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14916, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14936, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14921, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14941, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14906, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14926, 0, 0, 20, 32, 0, height, 6, 0, height + 27); break; @@ -3250,32 +3250,32 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14912, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14932, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14917, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14937, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14922, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14942, 0, 0, 16, 32, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14907, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14927, 0, 0, 16, 32, 0, height, 16, 0, height + 27); break; @@ -3291,33 +3291,33 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14913, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14933, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14918, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14938, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14923, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14943, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14908, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14928, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; @@ -3333,32 +3333,32 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14914, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14934, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14919, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14939, 0, 0, 32, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14924, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14944, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14909, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14929, 0, 0, 32, 16, 0, height, 0, 16, height + 27); break; @@ -3374,30 +3374,30 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14915, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14935, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14920, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14940, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14925, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14945, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14910, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14930, 0, 0, 32, 20, 0, height, 0, 6, height + 27); break; @@ -3454,16 +3454,16 @@ static void bobsleigh_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14582, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14584, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14583, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14585, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -3486,16 +3486,16 @@ static void bobsleigh_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14586, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14590, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14587, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14591, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -3519,27 +3519,27 @@ static void bobsleigh_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14572, 0, 0, 32, 20, 0, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14574, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14573, 0, 0, 32, 20, 0, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14575, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14572, 0, 0, 32, 20, 0, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14574, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; @@ -3547,9 +3547,9 @@ static void bobsleigh_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14573, 0, 0, 32, 20, 0, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 14575, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; diff --git a/src/openrct2/ride/coaster/BolligerMabillardTrack.cpp b/src/openrct2/ride/coaster/BolligerMabillardTrack.cpp index e3839b6cc3..c8447c0052 100644 --- a/src/openrct2/ride/coaster/BolligerMabillardTrack.cpp +++ b/src/openrct2/ride/coaster/BolligerMabillardTrack.cpp @@ -28,7 +28,7 @@ void bolliger_mabillard_track_flat( if (tileElement->AsTrack()->HasChain()) { uint32_t imageIds[] = { 17486, 17487, 17488, 17489 }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | imageIds[direction], 0, 0, 32, 20, 3, height, 0, 6, height); @@ -41,7 +41,7 @@ void bolliger_mabillard_track_flat( { uint32_t imageIds[] = { 17146, 17147, 17146, 17147 }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | imageIds[direction], 0, 0, 32, 20, 3, height, 0, 6, height); @@ -69,13 +69,13 @@ void bolliger_mabillard_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -102,19 +102,19 @@ void bolliger_mabillard_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17498, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17499, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17500, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17501, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -128,19 +128,19 @@ void bolliger_mabillard_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17204, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17205, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17206, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17207, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -171,19 +171,19 @@ void bolliger_mabillard_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17514, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17515, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17516, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17517, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -197,19 +197,19 @@ void bolliger_mabillard_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17220, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17221, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17222, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17223, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -240,19 +240,19 @@ void bolliger_mabillard_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17490, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17491, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17492, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17493, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -266,19 +266,19 @@ void bolliger_mabillard_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17196, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17197, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17198, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17199, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -309,23 +309,23 @@ void bolliger_mabillard_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17502, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17503, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17506, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17504, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17507, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17505, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -339,23 +339,23 @@ void bolliger_mabillard_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17208, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17209, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17212, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17210, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17213, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17211, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -386,23 +386,23 @@ void bolliger_mabillard_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17508, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17509, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17512, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17510, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17513, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17511, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -416,23 +416,23 @@ void bolliger_mabillard_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17214, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17215, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17218, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17216, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17219, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17217, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -463,19 +463,19 @@ void bolliger_mabillard_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17494, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17495, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17496, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17497, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -489,19 +489,19 @@ void bolliger_mabillard_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17200, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17201, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17202, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17203, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -581,19 +581,19 @@ void bolliger_mabillard_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17259, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17264, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17269, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17254, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -613,20 +613,20 @@ void bolliger_mabillard_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17258, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17263, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17268, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17253, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -642,22 +642,22 @@ void bolliger_mabillard_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17257, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17262, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17267, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17252, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -672,20 +672,20 @@ void bolliger_mabillard_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17256, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17261, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17266, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17251, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -701,19 +701,19 @@ void bolliger_mabillard_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17255, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17260, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17265, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17250, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -750,23 +750,23 @@ void bolliger_mabillard_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17156, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17164, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17157, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17165, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17158, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17159, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -787,23 +787,23 @@ void bolliger_mabillard_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17160, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17161, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17162, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17166, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17163, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17167, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -824,23 +824,23 @@ void bolliger_mabillard_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17162, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17166, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17163, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17167, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17160, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17161, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -861,23 +861,23 @@ void bolliger_mabillard_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17158, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17159, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17156, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17164, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17157, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17165, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -901,25 +901,25 @@ void bolliger_mabillard_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17279, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17290, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup(session, supportType, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17284, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17289, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17274, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; @@ -939,22 +939,22 @@ void bolliger_mabillard_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17278, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17283, 0, 0, 32, 16, 1, height, 0, 0, height + 27); metal_a_supports_paint_setup(session, supportType, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17288, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17273, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -970,22 +970,22 @@ void bolliger_mabillard_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17277, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17282, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17287, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17272, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -1000,21 +1000,21 @@ void bolliger_mabillard_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17276, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17281, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17286, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17271, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1030,23 +1030,23 @@ void bolliger_mabillard_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17275, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17280, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17285, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17291, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17270, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1083,23 +1083,23 @@ void bolliger_mabillard_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17168, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17172, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17169, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17173, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17170, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17171, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1127,23 +1127,23 @@ void bolliger_mabillard_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17174, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17175, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17176, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17178, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17177, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17179, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1171,23 +1171,23 @@ void bolliger_mabillard_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17180, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17184, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17181, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17185, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17182, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17183, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1215,23 +1215,23 @@ void bolliger_mabillard_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17186, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17187, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17188, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17190, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17189, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17191, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1291,19 +1291,19 @@ void bolliger_mabillard_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17192, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17193, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17194, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17195, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1335,19 +1335,19 @@ void bolliger_mabillard_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17344, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17349, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17354, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17359, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1375,12 +1375,12 @@ void bolliger_mabillard_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17350, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17355, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17360, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1396,17 +1396,17 @@ void bolliger_mabillard_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17346, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17351, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17356, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1426,7 +1426,7 @@ void bolliger_mabillard_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17347, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1439,7 +1439,7 @@ void bolliger_mabillard_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17357, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17362, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1455,19 +1455,19 @@ void bolliger_mabillard_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17348, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17353, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17358, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17363, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1498,19 +1498,19 @@ void bolliger_mabillard_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17324, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17329, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17334, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17339, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1530,12 +1530,12 @@ void bolliger_mabillard_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17325, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17330, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1563,17 +1563,17 @@ void bolliger_mabillard_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17326, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17331, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17336, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17341, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -1589,7 +1589,7 @@ void bolliger_mabillard_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17327, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1602,7 +1602,7 @@ void bolliger_mabillard_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17337, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17342, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1618,19 +1618,19 @@ void bolliger_mabillard_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17328, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17333, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17338, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17343, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1679,19 +1679,19 @@ void bolliger_mabillard_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17308, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17312, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17311, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17315, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1718,11 +1718,11 @@ void bolliger_mabillard_track_s_bend_left( metal_a_supports_paint_setup(session, supportType, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17310, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17314, 0, 0, 32, 26, 3, height, 0, 6, height); break; } @@ -1737,11 +1737,11 @@ void bolliger_mabillard_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17310, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17314, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 2: @@ -1766,19 +1766,19 @@ void bolliger_mabillard_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17311, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17315, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17308, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17312, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1809,19 +1809,19 @@ void bolliger_mabillard_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17316, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17320, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17319, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17323, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1838,12 +1838,12 @@ void bolliger_mabillard_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17317, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17321, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; @@ -1875,12 +1875,12 @@ void bolliger_mabillard_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 17322, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17317, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17321, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; @@ -1896,19 +1896,19 @@ void bolliger_mabillard_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17319, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17323, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17316, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17320, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2005,22 +2005,22 @@ void bolliger_mabillard_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17596, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17604, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17599, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17607, 16, 16, 2, 16, 119, height, 16, 16, height); break; @@ -2093,22 +2093,22 @@ void bolliger_mabillard_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17599, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17607, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17596, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17604, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -2254,22 +2254,22 @@ void bolliger_mabillard_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17623, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17615, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17620, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17612, 16, 0, 2, 16, 119, height, 16, 0, height); break; @@ -2330,22 +2330,22 @@ void bolliger_mabillard_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17620, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17612, 16, 0, 2, 16, 119, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17623, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17615, 10, 16, 4, 16, 119, height, 10, 16, height); break; @@ -2425,19 +2425,19 @@ void bolliger_mabillard_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17229, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17232, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17235, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17226, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2457,21 +2457,21 @@ void bolliger_mabillard_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17228, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17231, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17234, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17225, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2484,19 +2484,19 @@ void bolliger_mabillard_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17227, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17230, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17233, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17224, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2536,23 +2536,23 @@ void bolliger_mabillard_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17241, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17244, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17247, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17238, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2572,22 +2572,22 @@ void bolliger_mabillard_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17240, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17243, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17246, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17237, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2600,23 +2600,23 @@ void bolliger_mabillard_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17239, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17242, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17245, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17249, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17236, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2833,23 +2833,23 @@ void bolliger_mabillard_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17399, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17406, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17402, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17405, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17396, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2870,22 +2870,22 @@ void bolliger_mabillard_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17398, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17401, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17404, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17395, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2898,23 +2898,23 @@ void bolliger_mabillard_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17397, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17400, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17403, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17407, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17394, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2937,23 +2937,23 @@ void bolliger_mabillard_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17396, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17399, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17406, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17402, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17405, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2979,22 +2979,22 @@ void bolliger_mabillard_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17395, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17398, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17401, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17404, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3007,22 +3007,22 @@ void bolliger_mabillard_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17394, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17397, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17400, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17403, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17407, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3050,22 +3050,22 @@ void bolliger_mabillard_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17380, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17383, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17386, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17389, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17393, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3087,22 +3087,22 @@ void bolliger_mabillard_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17381, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17384, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17387, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17390, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3115,23 +3115,23 @@ void bolliger_mabillard_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17382, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17385, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17392, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17388, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17391, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3154,23 +3154,23 @@ void bolliger_mabillard_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17383, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17386, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17389, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17393, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17380, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3196,22 +3196,22 @@ void bolliger_mabillard_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17384, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17387, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17390, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17381, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3224,23 +3224,23 @@ void bolliger_mabillard_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17385, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17392, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17388, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17391, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17382, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3295,23 +3295,23 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17439, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17450, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17444, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17449, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17434, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3332,21 +3332,21 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17438, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17443, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17448, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17433, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3362,22 +3362,22 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17437, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17442, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17447, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17432, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3392,21 +3392,21 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17436, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17441, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17446, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17431, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3422,23 +3422,23 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17435, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17440, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17445, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17451, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17430, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3461,23 +3461,23 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17434, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17439, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17450, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17444, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17449, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3503,21 +3503,21 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17433, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17438, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17443, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17448, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3533,21 +3533,21 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17432, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17437, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17442, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17447, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3563,22 +3563,22 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17431, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17436, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17441, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17446, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3593,22 +3593,22 @@ void bolliger_mabillard_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17430, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17435, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17440, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17445, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17451, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3636,22 +3636,22 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17408, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17413, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17418, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17423, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17429, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3673,22 +3673,22 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17409, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17414, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17419, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17424, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3703,21 +3703,21 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17410, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17415, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17420, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17425, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3733,21 +3733,21 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17411, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17416, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17421, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17426, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3763,26 +3763,26 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17412, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17417, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17428, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup(session, supportType, 4, 3, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17422, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17427, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; @@ -3805,23 +3805,23 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17413, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17418, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17423, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17429, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17408, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3847,21 +3847,21 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17414, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17419, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17424, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17409, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3877,22 +3877,22 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17415, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17420, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17425, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17410, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3907,21 +3907,21 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17416, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17421, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17426, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17411, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3937,26 +3937,26 @@ void bolliger_mabillard_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17417, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17428, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup(session, supportType, 4, 3, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17422, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17427, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17412, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; @@ -4008,27 +4008,27 @@ void bolliger_mabillard_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17301, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17305, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17302, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17306, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17303, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17307, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17300, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17304, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4044,27 +4044,27 @@ void bolliger_mabillard_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17292, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17296, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17293, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17297, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17294, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17298, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17295, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17299, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4097,12 +4097,12 @@ void bolliger_mabillard_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17148, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17149, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4123,19 +4123,19 @@ void bolliger_mabillard_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17914, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17915, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17916, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17917, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4163,19 +4163,19 @@ void bolliger_mabillard_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17918, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17919, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17920, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17921, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4206,28 +4206,28 @@ void bolliger_mabillard_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, supportType, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, supportType, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17146, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, supportType, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, supportType, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17147, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, supportType, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, supportType, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17146, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, supportType, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, supportType, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17147, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -4263,22 +4263,22 @@ void bolliger_mabillard_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17526, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17527, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17528, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17529, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -4311,21 +4311,21 @@ void bolliger_mabillard_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17518, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17519, 0, 0, 2, 20, 55, height, 24, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17520, 0, 0, 2, 20, 55, height, 24, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17521, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4358,19 +4358,19 @@ void bolliger_mabillard_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17522, 0, 0, 32, 20, 3, height, 0, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17523, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17524, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17525, 0, 0, 32, 20, 3, height, 0, 6, height + 8); break; } @@ -4398,22 +4398,22 @@ void bolliger_mabillard_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17524, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17525, 0, 0, 32, 20, 3, height, 0, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17522, 0, 0, 32, 20, 3, height, 0, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17523, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; @@ -4441,19 +4441,19 @@ void bolliger_mabillard_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17546, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17550, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17554, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17558, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4470,20 +4470,20 @@ void bolliger_mabillard_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17547, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17551, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17555, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17559, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4499,22 +4499,22 @@ void bolliger_mabillard_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17548, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17552, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17556, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17560, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4532,24 +4532,24 @@ void bolliger_mabillard_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17549, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup(session, supportType, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17553, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17557, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17561, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup(session, supportType, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4575,19 +4575,19 @@ void bolliger_mabillard_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17530, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17534, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17538, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17542, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4604,21 +4604,21 @@ void bolliger_mabillard_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17531, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17535, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17539, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17543, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4633,20 +4633,20 @@ void bolliger_mabillard_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17532, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17536, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17540, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17544, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4665,24 +4665,24 @@ void bolliger_mabillard_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17533, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17537, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17541, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup(session, supportType, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17545, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup(session, supportType, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4726,21 +4726,21 @@ void bolliger_mabillard_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17578, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17582, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17586, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17590, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4757,21 +4757,21 @@ void bolliger_mabillard_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17579, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17583, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17587, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17591, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4787,22 +4787,22 @@ void bolliger_mabillard_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17580, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17584, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17588, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17592, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4820,24 +4820,24 @@ void bolliger_mabillard_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17581, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup(session, supportType, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17585, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17589, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17593, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup(session, supportType, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4863,20 +4863,20 @@ void bolliger_mabillard_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17562, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17566, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17570, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17574, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4894,22 +4894,22 @@ void bolliger_mabillard_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17563, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17567, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17571, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17575, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4924,21 +4924,21 @@ void bolliger_mabillard_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17564, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17568, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17572, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17576, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4957,24 +4957,24 @@ void bolliger_mabillard_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17565, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17569, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17573, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup(session, supportType, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17577, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup(session, supportType, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -5020,7 +5020,7 @@ void bolliger_mabillard_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17861, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5031,7 +5031,7 @@ void bolliger_mabillard_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17791, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5047,7 +5047,7 @@ void bolliger_mabillard_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17858, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5058,7 +5058,7 @@ void bolliger_mabillard_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17788, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5074,7 +5074,7 @@ void bolliger_mabillard_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17860, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5085,7 +5085,7 @@ void bolliger_mabillard_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17790, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5105,7 +5105,7 @@ void bolliger_mabillard_track_diag_flat( session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17859, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5130,7 +5130,7 @@ void bolliger_mabillard_track_diag_flat( session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17789, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5165,7 +5165,7 @@ void bolliger_mabillard_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17873, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5176,7 +5176,7 @@ void bolliger_mabillard_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17803, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5192,7 +5192,7 @@ void bolliger_mabillard_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17870, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5203,7 +5203,7 @@ void bolliger_mabillard_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17800, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5219,7 +5219,7 @@ void bolliger_mabillard_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17872, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5230,7 +5230,7 @@ void bolliger_mabillard_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17802, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5250,7 +5250,7 @@ void bolliger_mabillard_track_diag_25_deg_up( session, supportType, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17871, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5275,7 +5275,7 @@ void bolliger_mabillard_track_diag_25_deg_up( session, supportType, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17801, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5310,7 +5310,7 @@ void bolliger_mabillard_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17885, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5321,7 +5321,7 @@ void bolliger_mabillard_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17815, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5337,7 +5337,7 @@ void bolliger_mabillard_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17882, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5348,7 +5348,7 @@ void bolliger_mabillard_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17812, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5364,7 +5364,7 @@ void bolliger_mabillard_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17884, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5375,7 +5375,7 @@ void bolliger_mabillard_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17814, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5395,7 +5395,7 @@ void bolliger_mabillard_track_diag_60_deg_up( session, supportType, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17883, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5420,7 +5420,7 @@ void bolliger_mabillard_track_diag_60_deg_up( session, supportType, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17813, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5455,7 +5455,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17865, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5466,7 +5466,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17795, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5482,7 +5482,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17862, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5493,7 +5493,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17792, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5509,7 +5509,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17864, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5520,7 +5520,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17794, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5540,7 +5540,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17863, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5565,7 +5565,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_up( session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17793, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5600,7 +5600,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17877, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5611,7 +5611,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17807, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5627,7 +5627,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17874, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5638,7 +5638,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17804, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5654,7 +5654,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17876, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5665,7 +5665,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17806, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5685,7 +5685,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( session, supportType, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17875, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5710,7 +5710,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_60_deg_up( session, supportType, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17805, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5745,7 +5745,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17881, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5756,7 +5756,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17811, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5772,7 +5772,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17878, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5783,7 +5783,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17808, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5799,7 +5799,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17880, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5810,7 +5810,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17810, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5830,7 +5830,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( session, supportType, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17879, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -5855,7 +5855,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_25_deg_up( session, supportType, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17809, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -5890,7 +5890,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17869, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5901,7 +5901,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17799, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5917,7 +5917,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17866, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5928,7 +5928,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17796, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5944,7 +5944,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17868, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5955,7 +5955,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17798, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5975,7 +5975,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17867, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6000,7 +6000,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_flat( session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17797, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6035,7 +6035,7 @@ void bolliger_mabillard_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17871, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6046,7 +6046,7 @@ void bolliger_mabillard_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17801, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6062,7 +6062,7 @@ void bolliger_mabillard_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17872, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6073,7 +6073,7 @@ void bolliger_mabillard_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17802, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6089,7 +6089,7 @@ void bolliger_mabillard_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17870, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6100,7 +6100,7 @@ void bolliger_mabillard_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17800, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6120,7 +6120,7 @@ void bolliger_mabillard_track_diag_25_deg_down( session, supportType, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17873, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6145,7 +6145,7 @@ void bolliger_mabillard_track_diag_25_deg_down( session, supportType, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17803, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6180,7 +6180,7 @@ void bolliger_mabillard_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17883, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6191,7 +6191,7 @@ void bolliger_mabillard_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17813, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6207,7 +6207,7 @@ void bolliger_mabillard_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17884, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6218,7 +6218,7 @@ void bolliger_mabillard_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17814, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6234,7 +6234,7 @@ void bolliger_mabillard_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17882, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6245,7 +6245,7 @@ void bolliger_mabillard_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17812, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6265,7 +6265,7 @@ void bolliger_mabillard_track_diag_60_deg_down( session, supportType, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17885, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6290,7 +6290,7 @@ void bolliger_mabillard_track_diag_60_deg_down( session, supportType, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17815, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6325,7 +6325,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17867, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6336,7 +6336,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17797, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6351,7 +6351,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17868, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6362,7 +6362,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17798, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6377,7 +6377,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17866, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6388,7 +6388,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17796, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6407,7 +6407,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17869, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6432,7 +6432,7 @@ void bolliger_mabillard_track_diag_flat_to_25_deg_down( session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17799, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6468,7 +6468,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17879, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6479,7 +6479,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17809, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6495,7 +6495,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17880, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6506,7 +6506,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17810, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6522,7 +6522,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17878, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6533,7 +6533,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17808, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6553,7 +6553,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( session, supportType, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17881, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6578,7 +6578,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_60_deg_down( session, supportType, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17811, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6613,7 +6613,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17875, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6624,7 +6624,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17805, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6640,7 +6640,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17876, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6651,7 +6651,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17806, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6667,7 +6667,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17874, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6678,7 +6678,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17804, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6698,7 +6698,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( session, supportType, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17877, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6723,7 +6723,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_25_deg_down( session, supportType, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17807, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6758,7 +6758,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17863, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6769,7 +6769,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17793, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6785,7 +6785,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17864, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6796,7 +6796,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17794, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6812,7 +6812,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17862, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6823,7 +6823,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17792, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6843,7 +6843,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17865, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6868,7 +6868,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_flat( session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17795, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6903,7 +6903,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17889, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -6914,7 +6914,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17819, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -6930,7 +6930,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17886, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -6941,7 +6941,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17816, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -6957,7 +6957,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17888, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -6968,7 +6968,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17818, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -6988,7 +6988,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( session, supportType, 1, 5, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17887, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7013,7 +7013,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_up( session, supportType, 1, 5, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17817, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7048,7 +7048,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17893, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7059,7 +7059,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17823, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7075,7 +7075,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17890, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7086,7 +7086,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17820, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7102,7 +7102,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17892, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7113,7 +7113,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17822, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7133,7 +7133,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( session, supportType, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17891, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7158,7 +7158,7 @@ void bolliger_mabillard_track_diag_60_deg_up_to_flat( session, supportType, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17821, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7193,7 +7193,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17891, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7204,7 +7204,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17821, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7220,7 +7220,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17892, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7231,7 +7231,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17822, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7247,7 +7247,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17890, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7258,7 +7258,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17820, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7278,7 +7278,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( session, supportType, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17893, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7303,7 +7303,7 @@ void bolliger_mabillard_track_diag_flat_to_60_deg_down( session, supportType, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17823, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7338,7 +7338,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17887, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7349,7 +7349,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17817, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7365,7 +7365,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17888, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7376,7 +7376,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17818, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7392,7 +7392,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17886, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7403,7 +7403,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17816, -16, -16, 32, 32, 4, height, -16, -16, height); break; @@ -7423,7 +7423,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( session, supportType, 1, 5, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17889, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7448,7 +7448,7 @@ void bolliger_mabillard_track_diag_60_deg_down_to_flat( session, supportType, 1, 5, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17819, -16, -16, 32, 32, 4, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7481,7 +7481,7 @@ void bolliger_mabillard_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17831, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7494,10 +7494,10 @@ void bolliger_mabillard_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17828, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17832, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7510,7 +7510,7 @@ void bolliger_mabillard_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17830, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7526,7 +7526,7 @@ void bolliger_mabillard_track_diag_flat_to_left_bank( metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17829, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7555,7 +7555,7 @@ void bolliger_mabillard_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17836, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7568,7 +7568,7 @@ void bolliger_mabillard_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17833, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7581,10 +7581,10 @@ void bolliger_mabillard_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17835, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17837, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7600,7 +7600,7 @@ void bolliger_mabillard_track_diag_flat_to_right_bank( metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17834, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7629,7 +7629,7 @@ void bolliger_mabillard_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17834, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7642,10 +7642,10 @@ void bolliger_mabillard_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17835, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17837, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7658,7 +7658,7 @@ void bolliger_mabillard_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17833, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7674,7 +7674,7 @@ void bolliger_mabillard_track_diag_left_bank_to_flat( metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17836, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7703,7 +7703,7 @@ void bolliger_mabillard_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17829, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7716,7 +7716,7 @@ void bolliger_mabillard_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17830, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7729,10 +7729,10 @@ void bolliger_mabillard_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17828, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17832, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7748,7 +7748,7 @@ void bolliger_mabillard_track_diag_right_bank_to_flat( metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17831, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7777,7 +7777,7 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17851, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7790,10 +7790,10 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17848, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17852, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7806,7 +7806,7 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17850, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7822,7 +7822,7 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_up( metal_b_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17849, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7851,7 +7851,7 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17856, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7864,7 +7864,7 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17853, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7877,10 +7877,10 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17855, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17857, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7896,7 +7896,7 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_up( metal_b_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17854, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7925,7 +7925,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17841, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7938,10 +7938,10 @@ void bolliger_mabillard_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17838, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17842, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7954,7 +7954,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17840, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7970,7 +7970,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_left_bank( metal_b_supports_paint_setup(session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17839, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 4, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7999,7 +7999,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17846, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8012,7 +8012,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17843, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8025,10 +8025,10 @@ void bolliger_mabillard_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17845, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17847, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8044,7 +8044,7 @@ void bolliger_mabillard_track_diag_25_deg_up_to_right_bank( metal_b_supports_paint_setup(session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17844, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 4, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8073,7 +8073,7 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17844, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8085,10 +8085,10 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17845, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17847, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8100,7 +8100,7 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17843, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8115,7 +8115,7 @@ void bolliger_mabillard_track_diag_left_bank_to_25_deg_down( metal_b_supports_paint_setup(session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17846, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 4, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8145,7 +8145,7 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17839, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8157,7 +8157,7 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17840, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8169,10 +8169,10 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17838, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17842, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8187,7 +8187,7 @@ void bolliger_mabillard_track_diag_right_bank_to_25_deg_down( metal_b_supports_paint_setup(session, supportType, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17841, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 4, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8217,7 +8217,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17854, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8230,10 +8230,10 @@ void bolliger_mabillard_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17855, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17857, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8246,7 +8246,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17853, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8262,7 +8262,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_left_bank( metal_b_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17856, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8291,7 +8291,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17849, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8304,7 +8304,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17850, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8317,10 +8317,10 @@ void bolliger_mabillard_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17848, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17852, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8336,7 +8336,7 @@ void bolliger_mabillard_track_diag_25_deg_down_to_right_bank( metal_b_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17851, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8365,7 +8365,7 @@ void bolliger_mabillard_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17827, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8378,7 +8378,7 @@ void bolliger_mabillard_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17824, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -8391,7 +8391,7 @@ void bolliger_mabillard_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17826, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8407,7 +8407,7 @@ void bolliger_mabillard_track_diag_left_bank( metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17825, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8436,7 +8436,7 @@ void bolliger_mabillard_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17825, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8449,7 +8449,7 @@ void bolliger_mabillard_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17826, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8462,7 +8462,7 @@ void bolliger_mabillard_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17824, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -8478,7 +8478,7 @@ void bolliger_mabillard_track_diag_right_bank( metal_a_supports_paint_setup(session, supportType, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17827, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup(session, supportType, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8513,7 +8513,7 @@ void bolliger_mabillard_track_left_bank_to_left_quarter_turn_3_25_deg_up( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17727, 0, 6, 32, 20, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17731, 0, 6, 32, 1, 26, height, 0, 27, height); break; @@ -8598,7 +8598,7 @@ void bolliger_mabillard_track_right_bank_to_right_quarter_turn_3_25_deg_up( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17718, 0, 6, 32, 20, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17730, 0, 6, 32, 1, 26, height, 0, 27, height); break; @@ -8716,7 +8716,7 @@ void bolliger_mabillard_track_left_quarter_turn_3_25_deg_down_to_left_bank( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17718, 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17730, 6, 0, 1, 32, 26, height, 27, 0, height); break; @@ -8801,7 +8801,7 @@ void bolliger_mabillard_track_right_quarter_turn_3_25_deg_down_to_right_bank( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17727, 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17731, 6, 0, 1, 32, 26, height, 27, 0, height); break; @@ -8835,12 +8835,12 @@ void bolliger_mabillard_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17150, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17151, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8868,7 +8868,7 @@ void bolliger_mabillard_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18025, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18027, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -8904,12 +8904,12 @@ void bolliger_mabillard_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18024, 6, 0, 20, 32, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18026, 6, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18028, 6, 0, 1, 32, 34, height, 27, 0, height); break; @@ -8953,7 +8953,7 @@ void bolliger_mabillard_track_right_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18016, 0, 6, 32, 20, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18018, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -8986,13 +8986,13 @@ void bolliger_mabillard_track_right_banked_quarter_turn_3_25_deg_up( metal_a_supports_paint_setup(session, supportType, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18017, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup(session, supportType, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18019, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup(session, supportType, 4, 10, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -9047,20 +9047,20 @@ void bolliger_mabillard_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17978, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17983, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17988, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17993, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9084,17 +9084,17 @@ void bolliger_mabillard_track_left_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17979, 0, 0, 32, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17984, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17989, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17994, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -9110,17 +9110,17 @@ void bolliger_mabillard_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17980, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17985, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17990, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -9140,22 +9140,22 @@ void bolliger_mabillard_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17981, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17986, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17991, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17996, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -9171,21 +9171,21 @@ void bolliger_mabillard_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17982, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17987, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17992, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17997, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -9216,20 +9216,20 @@ void bolliger_mabillard_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17958, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17963, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17968, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17973, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9249,17 +9249,17 @@ void bolliger_mabillard_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17959, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17964, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17969, 0, 0, 1, 1, 34, height, 30, 30, height); break; @@ -9283,17 +9283,17 @@ void bolliger_mabillard_track_right_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17960, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17965, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17970, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17975, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -9309,22 +9309,22 @@ void bolliger_mabillard_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17961, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17966, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17971, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17976, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -9340,21 +9340,21 @@ void bolliger_mabillard_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17962, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17967, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17972, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17977, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -9400,21 +9400,21 @@ void bolliger_mabillard_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17922, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17923, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17930, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17924, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17925, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9442,21 +9442,21 @@ void bolliger_mabillard_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17926, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17927, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17928, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17931, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17929, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9484,21 +9484,21 @@ void bolliger_mabillard_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17932, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17933, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17940, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17934, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17935, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9526,21 +9526,21 @@ void bolliger_mabillard_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17936, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17937, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17938, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17941, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17939, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9600,19 +9600,19 @@ void bolliger_mabillard_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17942, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17943, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17944, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17945, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9640,19 +9640,19 @@ void bolliger_mabillard_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17946, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17947, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17948, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17949, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9680,19 +9680,19 @@ void bolliger_mabillard_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17950, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17951, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17952, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17953, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9720,19 +9720,19 @@ void bolliger_mabillard_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17954, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17955, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17956, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17957, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9792,21 +9792,21 @@ void bolliger_mabillard_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17894, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17895, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17902, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17896, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17897, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9834,21 +9834,21 @@ void bolliger_mabillard_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17898, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17899, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17900, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17903, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17901, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9876,21 +9876,21 @@ void bolliger_mabillard_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17904, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17905, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17912, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17906, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17907, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9918,21 +9918,21 @@ void bolliger_mabillard_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17908, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17909, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17910, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17913, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17911, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9995,28 +9995,28 @@ void bolliger_mabillard_track_left_quarter_turn_1_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17998, 0, 0, 2, 20, 63, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17999, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18007, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18008, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18001, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18009, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; @@ -10041,28 +10041,28 @@ void bolliger_mabillard_track_right_quarter_turn_1_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18002, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18010, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18011, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18004, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18012, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18005, 0, 0, 2, 20, 63, height, 4, 6, height + 8); break; @@ -10103,25 +10103,25 @@ void bolliger_mabillard_track_flat_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17464, 0, 0, 32, 27, 4, height, 0, 2, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17465, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17468, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17466, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17469, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17467, 0, 0, 32, 27, 4, height, 0, 2, height); break; } @@ -10132,25 +10132,25 @@ void bolliger_mabillard_track_flat_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17452, 0, 0, 32, 27, 4, height, 0, 2, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17453, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17456, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17454, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17457, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17455, 0, 0, 32, 27, 4, height, 0, 2, height); break; } @@ -10178,25 +10178,25 @@ void bolliger_mabillard_track_60_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17470, 0, 0, 32, 27, 4, height, 0, 2, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17471, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17474, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17472, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17475, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17473, 0, 0, 32, 27, 4, height, 0, 2, height); break; } @@ -10207,25 +10207,25 @@ void bolliger_mabillard_track_60_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17458, 0, 0, 32, 27, 4, height, 0, 2, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17459, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17462, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17460, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17463, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17461, 0, 0, 32, 27, 4, height, 0, 2, height); break; } @@ -10267,23 +10267,23 @@ void bolliger_mabillard_track_brake_for_drop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17482, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17485, 0, 0, 32, 2, 43, height, 0, 4, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17483, 0, 0, 32, 27, 4, height, 0, 2, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17480, 0, 0, 32, 27, 4, height, 0, 2, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17481, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17484, 0, 0, 32, 2, 43, height, 0, 4, height); break; } @@ -10341,18 +10341,18 @@ void bolliger_mabillard_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17627, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17635, 0, 14, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17632, 0, 6, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup(session, supportType, 4, 16, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -10374,7 +10374,7 @@ void bolliger_mabillard_track_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17628, 16, 0, 2, 16, 119, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17636, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -10383,7 +10383,7 @@ void bolliger_mabillard_track_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17631, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17639, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -10443,22 +10443,22 @@ void bolliger_mabillard_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17690, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17693, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17696, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17699, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -10476,22 +10476,22 @@ void bolliger_mabillard_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17691, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17694, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17697, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17700, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -10503,22 +10503,22 @@ void bolliger_mabillard_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17692, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17695, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17698, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17701, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -10553,22 +10553,22 @@ void bolliger_mabillard_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17702, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17705, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17708, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17711, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -10587,22 +10587,22 @@ void bolliger_mabillard_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17703, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17706, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17709, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17712, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -10614,22 +10614,22 @@ void bolliger_mabillard_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17704, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17707, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17710, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17713, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -10680,19 +10680,19 @@ void bolliger_mabillard_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18030, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18034, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18038, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18042, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10712,19 +10712,19 @@ void bolliger_mabillard_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18031, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18035, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18039, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18043, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10740,19 +10740,19 @@ void bolliger_mabillard_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18032, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18036, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18040, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18044, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10768,21 +10768,21 @@ void bolliger_mabillard_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18033, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18037, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18041, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18045, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10817,21 +10817,21 @@ void bolliger_mabillard_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18046, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18050, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18054, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18058, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10851,19 +10851,19 @@ void bolliger_mabillard_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18047, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18051, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18055, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18059, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10879,19 +10879,19 @@ void bolliger_mabillard_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18048, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18052, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18056, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18060, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10907,19 +10907,19 @@ void bolliger_mabillard_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18049, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18053, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18057, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18061, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -10969,33 +10969,33 @@ void bolliger_mabillard_track_left_barrel_roll_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17642, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17666, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 2, 2, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17645, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17669, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 3, 2, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17648, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17672, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17651, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17675, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 0, 2, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -11014,30 +11014,30 @@ void bolliger_mabillard_track_left_barrel_roll_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17643, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17667, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17646, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17670, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17649, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17673, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17652, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17676, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -11053,30 +11053,30 @@ void bolliger_mabillard_track_left_barrel_roll_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17644, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17668, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17647, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17671, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17650, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17674, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17653, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17677, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; @@ -11108,33 +11108,33 @@ void bolliger_mabillard_track_right_barrel_roll_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17654, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17678, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 0, 2, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17657, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17681, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 2, 2, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17660, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17684, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 3, 2, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17663, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17687, 0, 0, 32, 20, 0, height, 0, 6, height + 28); metal_a_supports_paint_setup(session, supportType, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -11153,30 +11153,30 @@ void bolliger_mabillard_track_right_barrel_roll_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17655, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17679, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17658, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17682, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17661, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17685, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17664, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17688, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -11192,30 +11192,30 @@ void bolliger_mabillard_track_right_barrel_roll_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17656, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17680, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17659, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17683, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17662, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17686, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17665, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17689, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; @@ -11260,19 +11260,19 @@ void bolliger_mabillard_track_powered_lift( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17476, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17477, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17478, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17479, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -11300,19 +11300,19 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17732, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17739, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17746, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17753, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -11329,19 +11329,19 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17733, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17740, 0, 0, 32, 20, 9, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17747, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17754, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -11354,21 +11354,21 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17734, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17741, 0, 0, 32, 16, 0, height, 0, 0, height + 70); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17748, 0, 0, 32, 16, 0, height, 0, 16, height + 70); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17755, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -11384,24 +11384,24 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17735, 0, 0, 32, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup(session, supportType, 5, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17742, 0, 0, 32, 16, 0, height, 0, 0, height + 200); metal_a_supports_paint_setup(session, supportType, 6, 22, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17749, 0, 0, 32, 16, 0, height, 0, 16, height + 200); metal_a_supports_paint_setup(session, supportType, 8, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17756, 0, 0, 32, 16, 3, height, 0, 16, height); metal_a_supports_paint_setup(session, supportType, 7, 20, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -11418,22 +11418,22 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17736, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17743, 0, 0, 16, 16, 0, height, 0, 16, height + 110); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17750, 0, 0, 16, 16, 0, height, 0, 0, height + 100); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17757, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -11446,22 +11446,22 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17737, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17744, 0, 0, 32, 16, 0, height, 0, 16, height + 200); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17751, 0, 0, 32, 16, 0, height, 0, 0, height + 200); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17758, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -11476,22 +11476,22 @@ void bolliger_mabillard_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17738, 0, 0, 32, 16, 0, height, 0, 16, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17745, 0, 0, 32, 16, 0, height, 0, 16, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17752, 0, 0, 32, 16, 0, height, 0, 0, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17759, 0, 0, 32, 16, 0, height, 0, 0, height + 32); break; @@ -11520,19 +11520,19 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17781, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17774, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17767, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17760, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -11549,19 +11549,19 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17782, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17775, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17768, 0, 0, 32, 20, 9, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17761, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -11574,22 +11574,22 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17783, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17776, 0, 0, 32, 16, 0, height, 0, 16, height + 70); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17769, 0, 0, 32, 16, 0, height, 0, 0, height + 70); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17762, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -11604,25 +11604,25 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17784, 0, 0, 32, 16, 3, height, 0, 16, height); metal_a_supports_paint_setup(session, supportType, 8, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17777, 0, 0, 32, 16, 0, height, 0, 16, height + 200); metal_a_supports_paint_setup(session, supportType, 7, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17770, 0, 0, 32, 16, 0, height, 0, 0, height + 200); metal_a_supports_paint_setup(session, supportType, 5, 22, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17763, 0, 0, 32, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup(session, supportType, 6, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; @@ -11638,22 +11638,22 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17785, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17778, 0, 0, 16, 16, 0, height, 0, 0, height + 100); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17771, 0, 0, 16, 16, 0, height, 0, 16, height + 110); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17764, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -11666,21 +11666,21 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17786, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17779, 0, 0, 32, 16, 0, height, 0, 0, height + 200); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17772, 0, 0, 32, 16, 0, height, 0, 16, height + 200); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17765, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -11696,22 +11696,22 @@ void bolliger_mabillard_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17787, 0, 0, 32, 16, 0, height, 0, 0, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17780, 0, 0, 32, 16, 0, height, 0, 0, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17773, 0, 0, 32, 16, 0, height, 0, 16, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17766, 0, 0, 32, 16, 0, height, 0, 16, height + 32); break; @@ -11756,22 +11756,22 @@ void bolliger_mabillard_track_90_deg_to_inverted_flat_quarter_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18062, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18065, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18068, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18071, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -11784,22 +11784,22 @@ void bolliger_mabillard_track_90_deg_to_inverted_flat_quarter_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18063, 0, 0, 2, 20, 31, height, -8, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18066, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18069, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18072, 0, 0, 2, 20, 31, height, -8, 6, height); break; @@ -11812,22 +11812,22 @@ void bolliger_mabillard_track_90_deg_to_inverted_flat_quarter_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18064, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18067, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18070, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18073, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -11865,13 +11865,13 @@ void bolliger_mabillard_track_booster( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_G2_BM_BOOSTER_NE_SW, ne_sw_offsetX, ne_sw_offsetY, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_G2_BM_BOOSTER_NW_SE, nw_se_offsetX, nw_se_offsetY, 32, 20, 3, height, 0, 6, height); break; diff --git a/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp b/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp index f6bae71d10..00135ce093 100644 --- a/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp +++ b/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp @@ -30,13 +30,13 @@ static void compact_inverted_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26557, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26558, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -48,13 +48,13 @@ static void compact_inverted_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26555, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26556, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -85,12 +85,12 @@ static void compact_inverted_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 26558, SPR_STATION_INVERTED_BAR_A_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, height + 29); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11); @@ -110,22 +110,22 @@ static void compact_inverted_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26621, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26622, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26623, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26624, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -136,22 +136,22 @@ static void compact_inverted_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26569, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26570, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26571, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26572, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -204,22 +204,22 @@ static void compact_inverted_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26637, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26638, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26639, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26640, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; @@ -230,22 +230,22 @@ static void compact_inverted_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26585, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26586, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26587, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26588, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; @@ -274,22 +274,22 @@ static void compact_inverted_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26613, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26614, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26615, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26616, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -300,22 +300,22 @@ static void compact_inverted_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26561, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26562, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26563, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26564, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -368,28 +368,28 @@ static void compact_inverted_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26625, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26629, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26626, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26630, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26627, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26628, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -400,28 +400,28 @@ static void compact_inverted_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26573, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26577, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26574, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26578, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26575, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26576, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -450,28 +450,28 @@ static void compact_inverted_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26631, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26635, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26632, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26636, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26633, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26634, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -482,28 +482,28 @@ static void compact_inverted_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26579, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26583, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26580, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26584, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26581, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26582, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -556,22 +556,22 @@ static void compact_inverted_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26617, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26618, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26619, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26620, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -582,22 +582,22 @@ static void compact_inverted_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26565, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26566, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26567, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26568, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -701,22 +701,22 @@ static void compact_inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26694, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26699, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26704, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26689, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -749,12 +749,12 @@ static void compact_inverted_rc_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26698, 0, 0, 32, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26703, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26688, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -770,17 +770,17 @@ static void compact_inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26692, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26697, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26702, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -800,7 +800,7 @@ static void compact_inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26691, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -813,7 +813,7 @@ static void compact_inverted_rc_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26701, 0, 0, 16, 32, 3, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26686, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -829,22 +829,22 @@ static void compact_inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26690, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26695, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26700, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26685, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -887,22 +887,22 @@ static void compact_inverted_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26657, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26658, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26659, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26660, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -930,22 +930,22 @@ static void compact_inverted_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26661, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26662, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26663, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26664, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -973,22 +973,22 @@ static void compact_inverted_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26663, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26664, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26661, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26662, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1016,22 +1016,22 @@ static void compact_inverted_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26659, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26660, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26657, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26658, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1062,22 +1062,22 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26738, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26743, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26748, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26733, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1110,12 +1110,12 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26742, 0, 0, 32, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26747, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26732, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -1131,17 +1131,17 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26736, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26741, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26746, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -1161,7 +1161,7 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26735, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -1174,7 +1174,7 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26745, 0, 0, 16, 32, 3, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26730, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -1190,22 +1190,22 @@ static void compact_inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26734, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26739, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26744, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26729, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -1249,22 +1249,22 @@ static void compact_inverted_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26665, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26666, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26667, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26668, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1316,22 +1316,22 @@ static void compact_inverted_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26669, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26670, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26671, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26672, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1383,22 +1383,22 @@ static void compact_inverted_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26673, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26674, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26675, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26676, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1450,22 +1450,22 @@ static void compact_inverted_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26677, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26678, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26679, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26680, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1553,22 +1553,22 @@ static void compact_inverted_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26681, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26682, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26683, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26684, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1957,22 +1957,22 @@ static void compact_inverted_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26641, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26645, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26644, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26648, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2001,12 +2001,12 @@ static void compact_inverted_rc_track_s_bend_left( session, direction, session->TrackColours[SCHEME_TRACK] | 26646, 0, 0, 32, 26, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26643, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26647, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -2035,12 +2035,12 @@ static void compact_inverted_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26643, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26647, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -2077,22 +2077,22 @@ static void compact_inverted_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26644, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26648, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26641, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26645, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2128,22 +2128,22 @@ static void compact_inverted_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26649, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26653, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26652, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26656, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2164,12 +2164,12 @@ static void compact_inverted_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26650, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26654, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -2214,12 +2214,12 @@ static void compact_inverted_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 26655, 0, 0, 32, 26, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26650, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26654, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -2248,22 +2248,22 @@ static void compact_inverted_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26652, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26656, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26649, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26653, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2299,22 +2299,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27017, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27025, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27024, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27032, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; @@ -2356,22 +2356,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27018, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27026, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27023, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27031, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; @@ -2383,22 +2383,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27019, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27027, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27022, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27030, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; @@ -2411,22 +2411,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27020, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27028, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27021, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27029, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2448,22 +2448,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27021, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27029, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27020, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27028, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2479,22 +2479,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27022, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27030, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27019, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27027, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; @@ -2507,22 +2507,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27023, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27031, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27018, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27026, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; @@ -2534,22 +2534,22 @@ static void compact_inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27024, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27032, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27017, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27025, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2606,22 +2606,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27048, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27040, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27041, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27033, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2663,22 +2663,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27047, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27039, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27042, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27034, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2690,22 +2690,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27046, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27038, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27043, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27035, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; @@ -2718,22 +2718,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27045, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27037, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27044, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27036, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2755,22 +2755,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27044, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27036, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27045, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27037, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2786,22 +2786,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27043, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27035, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27046, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27038, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; @@ -2814,22 +2814,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27042, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27034, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27047, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27039, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; @@ -2841,22 +2841,22 @@ static void compact_inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27041, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27033, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27048, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27040, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2913,22 +2913,22 @@ static void compact_inverted_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26710, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26713, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26716, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26707, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2953,7 +2953,7 @@ static void compact_inverted_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26709, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -2962,12 +2962,12 @@ static void compact_inverted_rc_track_left_quarter_turn_3( session, direction, session->TrackColours[SCHEME_TRACK] | 26712, 0, 0, 16, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26715, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26706, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -2980,22 +2980,22 @@ static void compact_inverted_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26708, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26711, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26714, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26705, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -3041,22 +3041,22 @@ static void compact_inverted_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26722, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26725, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26728, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26719, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -3081,22 +3081,22 @@ static void compact_inverted_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26721, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26724, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26727, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26718, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -3109,22 +3109,22 @@ static void compact_inverted_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26720, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26723, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26726, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26717, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -3805,22 +3805,22 @@ static void compact_inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27073, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27081, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27080, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27088, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -3858,22 +3858,22 @@ static void compact_inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27074, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27082, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27079, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27087, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; @@ -3885,22 +3885,22 @@ static void compact_inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27075, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27083, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27078, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27086, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; @@ -3916,22 +3916,22 @@ static void compact_inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27076, 0, 0, 32, 20, 3, height + 34, 0, 6, height + 34); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27084, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27077, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27085, 0, 16, 32, 20, 3, height + 34, 0, 6, height + 34); break; @@ -3966,22 +3966,22 @@ static void compact_inverted_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27049, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27052, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27055, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27058, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; @@ -4005,22 +4005,22 @@ static void compact_inverted_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27050, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27053, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27056, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27059, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; @@ -4032,22 +4032,22 @@ static void compact_inverted_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27051, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27054, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27057, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27060, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; @@ -4084,22 +4084,22 @@ static void compact_inverted_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27061, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27064, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27067, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27070, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; @@ -4123,22 +4123,22 @@ static void compact_inverted_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27062, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27065, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27068, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27071, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; @@ -4150,22 +4150,22 @@ static void compact_inverted_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27063, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27066, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27069, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27072, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; @@ -4217,30 +4217,30 @@ static void compact_inverted_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26910, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26906, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26911, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26907, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26912, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26908, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26909, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26905, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; @@ -4258,30 +4258,30 @@ static void compact_inverted_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26901, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26897, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26902, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26898, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26903, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26899, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26904, 0, 0, 28, 28, 3, height + 5, 2, 2, height + 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26900, 0, 0, 28, 28, 1, height + 5, 2, 2, height + 104); break; @@ -4319,13 +4319,13 @@ static void compact_inverted_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26559, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26560, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -4354,22 +4354,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27118, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27123, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27128, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27113, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; @@ -4394,22 +4394,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27117, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27122, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27127, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27112, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4425,22 +4425,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27116, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27121, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27126, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27111, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4456,22 +4456,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27115, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27120, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27125, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27110, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4487,22 +4487,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27114, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27119, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27124, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27109, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; @@ -4539,22 +4539,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27089, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27094, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27099, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27104, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; @@ -4579,22 +4579,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27090, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27095, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27100, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27105, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4610,22 +4610,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27091, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27096, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27101, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27106, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4641,22 +4641,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27092, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27097, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27102, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27107, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4672,22 +4672,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27093, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27098, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27103, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27108, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; @@ -4724,22 +4724,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27098, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27103, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27108, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27093, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; @@ -4764,22 +4764,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27097, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27102, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27107, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27092, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4795,22 +4795,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27096, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27101, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27106, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27091, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4826,22 +4826,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27095, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27100, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27105, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27090, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4857,22 +4857,22 @@ static void compact_inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27094, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27099, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27104, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27089, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; @@ -4909,22 +4909,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27109, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27114, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27119, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27124, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; @@ -4949,22 +4949,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27110, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27115, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27120, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27125, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4980,22 +4980,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27111, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27116, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27121, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27126, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; @@ -5011,22 +5011,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27112, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27117, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27122, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27127, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -5042,22 +5042,22 @@ static void compact_inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27113, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27118, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27123, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27128, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; @@ -5096,7 +5096,7 @@ static void compact_inverted_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26555, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5106,7 +5106,7 @@ static void compact_inverted_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26556, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5116,7 +5116,7 @@ static void compact_inverted_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26555, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5126,7 +5126,7 @@ static void compact_inverted_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26556, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5150,22 +5150,22 @@ static void compact_inverted_rc_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26609, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26610, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26611, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26612, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -5176,22 +5176,22 @@ static void compact_inverted_rc_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26605, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26606, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26607, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26608, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -5228,22 +5228,22 @@ static void compact_inverted_rc_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26597, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26598, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26599, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26600, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; @@ -5254,22 +5254,22 @@ static void compact_inverted_rc_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26589, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26590, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26591, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26592, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; @@ -5308,22 +5308,22 @@ static void compact_inverted_rc_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26601, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26602, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26603, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26604, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; @@ -5334,22 +5334,22 @@ static void compact_inverted_rc_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26593, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26594, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26595, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26596, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; @@ -5382,22 +5382,22 @@ static void compact_inverted_rc_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26603, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26604, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26601, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26602, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; @@ -5408,22 +5408,22 @@ static void compact_inverted_rc_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26595, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26596, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26593, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26594, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; @@ -5453,22 +5453,22 @@ static void compact_inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26765, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26769, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26773, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26777, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5489,22 +5489,22 @@ static void compact_inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26766, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26770, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26774, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26778, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5520,22 +5520,22 @@ static void compact_inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26767, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26771, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26775, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26779, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5554,22 +5554,22 @@ static void compact_inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26768, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26772, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26776, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26780, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -5616,22 +5616,22 @@ static void compact_inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26749, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26753, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26757, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26761, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5652,22 +5652,22 @@ static void compact_inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26750, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26754, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26758, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26762, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5683,22 +5683,22 @@ static void compact_inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26751, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26755, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26759, 0, 0, 28, 28, 3, height + 29, 4, 4, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26763, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5717,22 +5717,22 @@ static void compact_inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26752, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26756, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26760, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26764, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -5797,22 +5797,22 @@ static void compact_inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26853, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26857, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26861, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26865, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5833,22 +5833,22 @@ static void compact_inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26854, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26858, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26862, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26866, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5864,22 +5864,22 @@ static void compact_inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26855, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26859, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26863, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26867, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5898,22 +5898,22 @@ static void compact_inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26856, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26860, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26864, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26868, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -5960,22 +5960,22 @@ static void compact_inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26837, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26841, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26845, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26849, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5996,22 +5996,22 @@ static void compact_inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26838, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26842, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26846, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26850, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; @@ -6027,22 +6027,22 @@ static void compact_inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26839, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26843, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26847, 0, 0, 28, 28, 3, height + 29, 4, 4, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26851, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; @@ -6061,22 +6061,22 @@ static void compact_inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26840, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26844, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26848, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26852, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -6145,7 +6145,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26812, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6156,7 +6156,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26784, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6172,7 +6172,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26809, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6183,7 +6183,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26781, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6199,7 +6199,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26811, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6210,7 +6210,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26783, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6226,7 +6226,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26810, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6237,7 +6237,7 @@ static void compact_inverted_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26782, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6284,7 +6284,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26824, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6295,7 +6295,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26796, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6311,7 +6311,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26821, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6322,7 +6322,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26793, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6338,7 +6338,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26823, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6349,7 +6349,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26795, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6365,7 +6365,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26822, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6376,7 +6376,7 @@ static void compact_inverted_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26794, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6421,7 +6421,7 @@ static void compact_inverted_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26808, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6434,7 +6434,7 @@ static void compact_inverted_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26805, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6447,7 +6447,7 @@ static void compact_inverted_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26807, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6460,7 +6460,7 @@ static void compact_inverted_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26806, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6506,7 +6506,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26816, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6517,7 +6517,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26788, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6533,7 +6533,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26813, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6544,7 +6544,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26785, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6560,7 +6560,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26815, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6571,7 +6571,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26787, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6587,7 +6587,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26814, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6598,7 +6598,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26786, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6643,7 +6643,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26800, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6656,7 +6656,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26797, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6669,7 +6669,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26799, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6682,7 +6682,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26798, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6726,7 +6726,7 @@ static void compact_inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26804, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6739,7 +6739,7 @@ static void compact_inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26801, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6752,7 +6752,7 @@ static void compact_inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26803, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6765,7 +6765,7 @@ static void compact_inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26802, -16, -16, 16, 16, 3, height + 29, 0, 0, height + 61); break; @@ -6811,7 +6811,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26820, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6822,7 +6822,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26792, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6838,7 +6838,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26817, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6849,7 +6849,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26789, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6865,7 +6865,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26819, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6876,7 +6876,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26791, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6892,7 +6892,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26818, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6903,7 +6903,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26790, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6950,7 +6950,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26822, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6961,7 +6961,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26794, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6977,7 +6977,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26823, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6988,7 +6988,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26795, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -7004,7 +7004,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26821, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -7015,7 +7015,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26793, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -7031,7 +7031,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26824, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -7042,7 +7042,7 @@ static void compact_inverted_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26796, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -7087,7 +7087,7 @@ static void compact_inverted_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26806, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7100,7 +7100,7 @@ static void compact_inverted_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26807, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -7113,7 +7113,7 @@ static void compact_inverted_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26805, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -7126,7 +7126,7 @@ static void compact_inverted_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26808, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -7172,7 +7172,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26818, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7183,7 +7183,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26790, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7198,7 +7198,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26819, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7209,7 +7209,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26791, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7224,7 +7224,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26817, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7235,7 +7235,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26789, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7250,7 +7250,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26820, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7261,7 +7261,7 @@ static void compact_inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26792, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7306,7 +7306,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26802, -16, -16, 16, 16, 3, height + 29, 0, 0, height + 61); break; @@ -7319,7 +7319,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26803, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7332,7 +7332,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26801, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7345,7 +7345,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26804, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7389,7 +7389,7 @@ static void compact_inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26798, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7402,7 +7402,7 @@ static void compact_inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26799, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7415,7 +7415,7 @@ static void compact_inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26797, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7428,7 +7428,7 @@ static void compact_inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26800, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7474,7 +7474,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26814, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7485,7 +7485,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26786, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7501,7 +7501,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26815, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7512,7 +7512,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26787, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7528,7 +7528,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26813, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7539,7 +7539,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26785, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7555,7 +7555,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26816, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7566,7 +7566,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26788, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7611,7 +7611,7 @@ static void compact_inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26876, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7624,7 +7624,7 @@ static void compact_inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26873, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7637,7 +7637,7 @@ static void compact_inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26875, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7650,7 +7650,7 @@ static void compact_inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26874, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7695,7 +7695,7 @@ static void compact_inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26880, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7708,7 +7708,7 @@ static void compact_inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26877, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7721,7 +7721,7 @@ static void compact_inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26879, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7734,7 +7734,7 @@ static void compact_inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26878, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7779,7 +7779,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26878, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7792,7 +7792,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26879, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7805,7 +7805,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26877, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7818,7 +7818,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26880, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7863,7 +7863,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26874, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7876,7 +7876,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26875, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7889,7 +7889,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26873, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7902,7 +7902,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26876, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7947,7 +7947,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26892, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7960,7 +7960,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26889, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7973,7 +7973,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26891, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7986,7 +7986,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26890, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8030,7 +8030,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26896, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8043,7 +8043,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26893, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8056,7 +8056,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26895, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8069,7 +8069,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26894, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8113,7 +8113,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26884, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8126,7 +8126,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26881, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8139,7 +8139,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26883, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8152,7 +8152,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26882, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8196,7 +8196,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26888, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8209,7 +8209,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26885, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8222,7 +8222,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26887, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8235,7 +8235,7 @@ static void compact_inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26886, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8279,7 +8279,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26886, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8291,7 +8291,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26887, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8303,7 +8303,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26885, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8315,7 +8315,7 @@ static void compact_inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26888, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8359,7 +8359,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26882, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8371,7 +8371,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26883, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8383,7 +8383,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26881, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8395,7 +8395,7 @@ static void compact_inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26884, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8439,7 +8439,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26894, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8452,7 +8452,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26895, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8465,7 +8465,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26893, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8478,7 +8478,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26896, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8522,7 +8522,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26890, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8535,7 +8535,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26891, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8548,7 +8548,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26889, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8561,7 +8561,7 @@ static void compact_inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26892, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8605,7 +8605,7 @@ static void compact_inverted_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26872, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8618,7 +8618,7 @@ static void compact_inverted_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26869, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8631,7 +8631,7 @@ static void compact_inverted_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26871, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8644,7 +8644,7 @@ static void compact_inverted_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26870, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8689,7 +8689,7 @@ static void compact_inverted_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26870, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8702,7 +8702,7 @@ static void compact_inverted_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26871, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8715,7 +8715,7 @@ static void compact_inverted_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26869, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8728,7 +8728,7 @@ static void compact_inverted_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26872, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8771,13 +8771,13 @@ static void compact_inverted_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26559, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26560, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; diff --git a/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp b/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp index de83709d14..44dd108320 100644 --- a/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp @@ -29,19 +29,19 @@ static void corkscrew_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16226, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16227, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16228, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16229, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -56,12 +56,12 @@ static void corkscrew_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16224, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16225, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -90,13 +90,13 @@ static void corkscrew_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -119,19 +119,19 @@ static void corkscrew_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16314, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16315, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16316, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16317, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -145,19 +145,19 @@ static void corkscrew_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16286, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16287, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16288, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16289, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -189,19 +189,19 @@ static void corkscrew_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16330, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16331, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16332, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16333, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -215,19 +215,19 @@ static void corkscrew_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16302, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16303, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16304, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16305, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -259,19 +259,19 @@ static void corkscrew_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16306, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16307, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16308, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16309, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -285,19 +285,19 @@ static void corkscrew_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16278, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16279, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16280, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16281, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -329,23 +329,23 @@ static void corkscrew_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16318, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16319, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16322, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16320, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16323, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16321, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -359,23 +359,23 @@ static void corkscrew_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16290, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16291, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16294, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16292, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16295, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16293, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -407,23 +407,23 @@ static void corkscrew_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16324, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16325, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16328, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16326, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16329, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16327, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -437,23 +437,23 @@ static void corkscrew_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16296, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16297, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16300, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16298, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16301, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16299, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -485,19 +485,19 @@ static void corkscrew_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16310, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16311, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16312, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16313, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -511,19 +511,19 @@ static void corkscrew_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16282, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16283, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16284, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16285, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -604,19 +604,19 @@ static void corkscrew_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16343, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16348, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16353, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16338, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -636,20 +636,20 @@ static void corkscrew_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16342, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16347, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16352, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16337, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -665,22 +665,22 @@ static void corkscrew_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16341, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16346, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16351, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16336, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -695,20 +695,20 @@ static void corkscrew_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16340, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16345, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16350, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16335, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -724,19 +724,19 @@ static void corkscrew_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16339, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16344, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16349, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16334, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -774,23 +774,23 @@ static void corkscrew_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16238, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16246, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16239, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16247, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16240, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16241, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -812,23 +812,23 @@ static void corkscrew_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16242, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16243, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16244, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16245, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16249, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -850,23 +850,23 @@ static void corkscrew_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16244, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16245, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16249, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16242, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16243, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -888,23 +888,23 @@ static void corkscrew_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16240, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16241, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16238, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16246, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16239, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16247, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -929,23 +929,23 @@ static void corkscrew_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16363, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16374, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16368, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16373, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16358, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -965,21 +965,21 @@ static void corkscrew_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16362, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16367, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16372, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16357, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -995,22 +995,22 @@ static void corkscrew_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16361, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16366, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16371, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16356, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -1025,21 +1025,21 @@ static void corkscrew_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16360, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16365, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16370, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16355, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1055,23 +1055,23 @@ static void corkscrew_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16359, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16364, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16369, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16375, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16354, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1109,23 +1109,23 @@ static void corkscrew_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16250, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16254, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16251, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16255, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16252, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16253, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1154,23 +1154,23 @@ static void corkscrew_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16256, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16257, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16258, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16260, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16259, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16261, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1199,23 +1199,23 @@ static void corkscrew_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16262, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16266, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16263, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16267, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16264, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16265, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1244,23 +1244,23 @@ static void corkscrew_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16268, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16269, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16270, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16272, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16271, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16273, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1321,19 +1321,19 @@ static void corkscrew_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16274, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16275, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16276, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16277, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1366,19 +1366,19 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16510, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16515, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16520, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16525, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1406,12 +1406,12 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16516, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16521, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16526, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1427,17 +1427,17 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16512, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16517, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16522, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1457,7 +1457,7 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16513, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1470,7 +1470,7 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16523, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16528, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1486,19 +1486,19 @@ static void corkscrew_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16514, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16519, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16524, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16529, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1530,19 +1530,19 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16490, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16495, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16500, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16505, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1562,12 +1562,12 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16491, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16496, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1595,17 +1595,17 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16492, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16497, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16502, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16507, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -1621,7 +1621,7 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16493, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1634,7 +1634,7 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16503, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16508, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1650,19 +1650,19 @@ static void corkscrew_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16494, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16499, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16504, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16509, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1714,19 +1714,19 @@ static void corkscrew_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16402, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16406, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16405, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16409, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1755,11 +1755,11 @@ static void corkscrew_rc_track_s_bend_left( session, METAL_SUPPORTS_TUBES, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16404, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16408, 0, 0, 32, 26, 3, height, 0, 6, height); break; } @@ -1774,11 +1774,11 @@ static void corkscrew_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16404, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16408, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 2: @@ -1805,19 +1805,19 @@ static void corkscrew_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16405, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16409, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16402, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16406, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1849,19 +1849,19 @@ static void corkscrew_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16410, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16414, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16413, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16417, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1878,13 +1878,13 @@ static void corkscrew_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16411, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16415, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1917,13 +1917,13 @@ static void corkscrew_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 16416, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16411, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16415, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1940,19 +1940,19 @@ static void corkscrew_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16413, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16417, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16410, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16414, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2058,22 +2058,22 @@ static void corkscrew_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16564, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16572, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16567, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16575, 16, 16, 2, 16, 119, height, 16, 16, height); break; @@ -2146,22 +2146,22 @@ static void corkscrew_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16567, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16575, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16564, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16572, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -2320,22 +2320,22 @@ static void corkscrew_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16591, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16583, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16588, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16580, 16, 0, 2, 16, 119, height, 16, 0, height); break; @@ -2396,22 +2396,22 @@ static void corkscrew_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16588, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16580, 16, 0, 2, 16, 119, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16591, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16583, 10, 16, 4, 16, 119, height, 10, 16, height); break; @@ -2496,19 +2496,19 @@ static void corkscrew_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16381, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16384, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16387, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16378, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2528,21 +2528,21 @@ static void corkscrew_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16380, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16383, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16386, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16377, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2555,19 +2555,19 @@ static void corkscrew_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16379, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16382, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16385, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16376, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2608,23 +2608,23 @@ static void corkscrew_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16393, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16400, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16396, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16399, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16390, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2644,22 +2644,22 @@ static void corkscrew_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16392, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16395, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16398, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16389, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2672,23 +2672,23 @@ static void corkscrew_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16391, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16394, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16397, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16401, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16388, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2943,20 +2943,20 @@ static void corkscrew_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16595, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16603, 0, 14, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16600, 0, 6, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( @@ -2980,7 +2980,7 @@ static void corkscrew_rc_track_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16596, 16, 0, 2, 16, 119, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16604, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -2989,7 +2989,7 @@ static void corkscrew_rc_track_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16599, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16607, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -3051,22 +3051,22 @@ static void corkscrew_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16610, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16613, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16616, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16619, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -3084,22 +3084,22 @@ static void corkscrew_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16611, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16614, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16617, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16620, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -3111,22 +3111,22 @@ static void corkscrew_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16612, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16615, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16618, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16621, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -3163,22 +3163,22 @@ static void corkscrew_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16622, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16625, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16628, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16631, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -3197,22 +3197,22 @@ static void corkscrew_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16623, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16626, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16629, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16632, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -3224,22 +3224,22 @@ static void corkscrew_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16624, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16627, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16630, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16633, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -3292,23 +3292,23 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16481, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16488, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16484, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16487, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16478, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3329,22 +3329,22 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16480, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16483, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16486, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16477, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3357,23 +3357,23 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16479, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16482, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16485, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16489, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16476, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3396,23 +3396,23 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16478, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16481, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16488, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16484, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16487, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3438,22 +3438,22 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16477, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16480, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16483, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16486, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3466,22 +3466,22 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16476, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16479, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16482, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16485, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16489, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3510,22 +3510,22 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16462, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16465, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16468, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16471, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16475, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3547,22 +3547,22 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16463, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16466, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16469, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16472, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3575,23 +3575,23 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16464, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16467, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16474, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16470, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16473, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3614,23 +3614,23 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16465, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16468, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16471, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16475, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16462, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3656,22 +3656,22 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16466, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16469, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16472, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16463, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3684,23 +3684,23 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16467, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16474, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16470, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16473, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16464, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3758,23 +3758,23 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16449, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16460, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16454, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16459, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16444, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3795,21 +3795,21 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16448, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16453, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16458, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16443, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3825,22 +3825,22 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16447, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16452, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16457, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16442, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3855,21 +3855,21 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16446, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16451, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16456, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16441, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3885,23 +3885,23 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16445, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16450, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16455, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16461, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16440, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3924,23 +3924,23 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16444, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16449, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16460, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16454, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16459, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3966,21 +3966,21 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16443, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16448, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16453, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16458, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3996,21 +3996,21 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16442, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16447, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16452, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16457, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4026,22 +4026,22 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16441, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16446, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16451, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16456, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4056,22 +4056,22 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16440, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16445, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16450, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16455, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16461, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4100,22 +4100,22 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16418, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16423, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16428, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16433, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16439, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4137,22 +4137,22 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16419, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16424, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16429, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16434, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4167,21 +4167,21 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16420, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16425, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16430, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16435, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4197,21 +4197,21 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16421, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16426, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16431, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16436, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4227,23 +4227,23 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16422, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16427, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16438, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16432, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16437, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4266,23 +4266,23 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16423, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16428, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16433, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16439, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16418, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4308,21 +4308,21 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16424, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16429, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16434, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16419, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4338,22 +4338,22 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16425, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16430, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16435, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16420, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4368,21 +4368,21 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16426, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16431, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16436, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16421, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4398,23 +4398,23 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16427, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16438, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16432, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16437, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16422, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4469,27 +4469,27 @@ static void corkscrew_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16555, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16559, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16556, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16560, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16557, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16561, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16554, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16558, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4506,27 +4506,27 @@ static void corkscrew_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16546, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16550, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16547, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16551, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16548, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16552, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16549, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16553, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4562,12 +4562,12 @@ static void corkscrew_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16230, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16231, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4592,28 +4592,28 @@ static void corkscrew_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16224, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16225, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16224, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16225, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -4634,19 +4634,19 @@ static void corkscrew_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16788, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16792, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16796, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16800, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4667,19 +4667,19 @@ static void corkscrew_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16789, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16793, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16797, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16801, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4696,19 +4696,19 @@ static void corkscrew_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16790, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16794, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16798, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16802, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4725,21 +4725,21 @@ static void corkscrew_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16791, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16795, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16799, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16803, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4775,21 +4775,21 @@ static void corkscrew_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16804, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16808, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16812, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16816, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4810,19 +4810,19 @@ static void corkscrew_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16805, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16809, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16813, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16817, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4839,19 +4839,19 @@ static void corkscrew_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16806, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16810, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16814, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16818, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4868,19 +4868,19 @@ static void corkscrew_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16807, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16811, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16815, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16819, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4934,19 +4934,19 @@ static void corkscrew_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16740, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16744, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16748, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16752, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4963,20 +4963,20 @@ static void corkscrew_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16741, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16745, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16749, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16753, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4992,22 +4992,22 @@ static void corkscrew_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16742, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16746, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16750, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16754, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -5025,27 +5025,27 @@ static void corkscrew_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16743, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16747, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16751, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16755, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -5073,19 +5073,19 @@ static void corkscrew_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16724, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16728, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16732, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16736, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -5102,21 +5102,21 @@ static void corkscrew_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16725, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16729, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16733, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16737, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -5131,20 +5131,20 @@ static void corkscrew_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16726, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16730, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16734, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16738, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5163,27 +5163,27 @@ static void corkscrew_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16727, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16731, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16735, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16739, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -5229,21 +5229,21 @@ static void corkscrew_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16772, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16776, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16780, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16784, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -5260,21 +5260,21 @@ static void corkscrew_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16773, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16777, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16781, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16785, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -5290,22 +5290,22 @@ static void corkscrew_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16774, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16778, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16782, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16786, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -5323,27 +5323,27 @@ static void corkscrew_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16775, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16779, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16783, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16787, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -5371,20 +5371,20 @@ static void corkscrew_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16756, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16760, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16764, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16768, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5402,21 +5402,21 @@ static void corkscrew_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16757, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16761, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16765, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16769, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -5431,21 +5431,21 @@ static void corkscrew_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16758, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16762, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16766, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16770, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5464,27 +5464,27 @@ static void corkscrew_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16759, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16763, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16767, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16771, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -5532,7 +5532,7 @@ static void corkscrew_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16699, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5543,7 +5543,7 @@ static void corkscrew_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16637, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5559,7 +5559,7 @@ static void corkscrew_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16696, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5570,7 +5570,7 @@ static void corkscrew_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16634, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5586,7 +5586,7 @@ static void corkscrew_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16698, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5597,7 +5597,7 @@ static void corkscrew_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16636, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5617,7 +5617,7 @@ static void corkscrew_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16697, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5642,7 +5642,7 @@ static void corkscrew_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16635, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5678,7 +5678,7 @@ static void corkscrew_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16711, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5689,7 +5689,7 @@ static void corkscrew_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16649, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5705,7 +5705,7 @@ static void corkscrew_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16708, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5716,7 +5716,7 @@ static void corkscrew_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16646, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5732,7 +5732,7 @@ static void corkscrew_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16710, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5743,7 +5743,7 @@ static void corkscrew_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16648, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5763,7 +5763,7 @@ static void corkscrew_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16709, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5788,7 +5788,7 @@ static void corkscrew_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16647, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5824,7 +5824,7 @@ static void corkscrew_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16723, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5835,7 +5835,7 @@ static void corkscrew_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16661, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5851,7 +5851,7 @@ static void corkscrew_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16720, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5862,7 +5862,7 @@ static void corkscrew_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16658, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5878,7 +5878,7 @@ static void corkscrew_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16722, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5889,7 +5889,7 @@ static void corkscrew_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16660, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5909,7 +5909,7 @@ static void corkscrew_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16721, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5934,7 +5934,7 @@ static void corkscrew_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16659, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5970,7 +5970,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16703, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5981,7 +5981,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16641, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5997,7 +5997,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16700, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6008,7 +6008,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16638, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6024,7 +6024,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16702, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6035,7 +6035,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16640, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6055,7 +6055,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16701, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6080,7 +6080,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16639, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6116,7 +6116,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16715, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6127,7 +6127,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16653, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6143,7 +6143,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16712, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6154,7 +6154,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16650, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6170,7 +6170,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16714, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6181,7 +6181,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16652, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6201,7 +6201,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16713, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6226,7 +6226,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16651, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6262,7 +6262,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16719, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6273,7 +6273,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16657, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6289,7 +6289,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16716, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6300,7 +6300,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16654, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6316,7 +6316,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16718, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6327,7 +6327,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16656, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6347,7 +6347,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16717, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -6372,7 +6372,7 @@ static void corkscrew_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16655, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -6408,7 +6408,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16707, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6419,7 +6419,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16645, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6435,7 +6435,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16704, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6446,7 +6446,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16642, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6462,7 +6462,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16706, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6473,7 +6473,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16644, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6493,7 +6493,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16705, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6518,7 +6518,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16643, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6554,7 +6554,7 @@ static void corkscrew_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16709, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6565,7 +6565,7 @@ static void corkscrew_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16647, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6581,7 +6581,7 @@ static void corkscrew_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16710, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6592,7 +6592,7 @@ static void corkscrew_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16648, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6608,7 +6608,7 @@ static void corkscrew_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16708, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6619,7 +6619,7 @@ static void corkscrew_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16646, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6639,7 +6639,7 @@ static void corkscrew_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16711, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6664,7 +6664,7 @@ static void corkscrew_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16649, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6700,7 +6700,7 @@ static void corkscrew_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16721, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6711,7 +6711,7 @@ static void corkscrew_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16659, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6727,7 +6727,7 @@ static void corkscrew_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16722, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6738,7 +6738,7 @@ static void corkscrew_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16660, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6754,7 +6754,7 @@ static void corkscrew_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16720, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6765,7 +6765,7 @@ static void corkscrew_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16658, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6785,7 +6785,7 @@ static void corkscrew_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16723, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6810,7 +6810,7 @@ static void corkscrew_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16661, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6846,7 +6846,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16705, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6857,7 +6857,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16643, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6872,7 +6872,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16706, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6883,7 +6883,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16644, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6898,7 +6898,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16704, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6909,7 +6909,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16642, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6928,7 +6928,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16707, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6953,7 +6953,7 @@ static void corkscrew_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16645, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6990,7 +6990,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16717, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -7001,7 +7001,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16655, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -7017,7 +7017,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16718, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7028,7 +7028,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16656, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7044,7 +7044,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16716, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7055,7 +7055,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16654, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7075,7 +7075,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16719, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7100,7 +7100,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16657, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7136,7 +7136,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16713, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7147,7 +7147,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16651, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7163,7 +7163,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16714, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7174,7 +7174,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16652, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7190,7 +7190,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16712, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7201,7 +7201,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16650, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7221,7 +7221,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16715, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7246,7 +7246,7 @@ static void corkscrew_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16653, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7282,7 +7282,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16701, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7293,7 +7293,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16639, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7309,7 +7309,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16702, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7320,7 +7320,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16640, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7336,7 +7336,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16700, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7347,7 +7347,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16638, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7367,7 +7367,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16703, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7392,7 +7392,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16641, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7426,7 +7426,7 @@ static void corkscrew_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16669, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7439,10 +7439,10 @@ static void corkscrew_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16666, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16670, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7455,7 +7455,7 @@ static void corkscrew_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16668, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7472,7 +7472,7 @@ static void corkscrew_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16667, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7505,7 +7505,7 @@ static void corkscrew_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16674, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7518,7 +7518,7 @@ static void corkscrew_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16671, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7531,10 +7531,10 @@ static void corkscrew_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16673, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16675, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7551,7 +7551,7 @@ static void corkscrew_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16672, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7584,7 +7584,7 @@ static void corkscrew_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16672, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7597,10 +7597,10 @@ static void corkscrew_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16673, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16675, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7613,7 +7613,7 @@ static void corkscrew_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16671, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7630,7 +7630,7 @@ static void corkscrew_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16674, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7663,7 +7663,7 @@ static void corkscrew_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16667, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7676,7 +7676,7 @@ static void corkscrew_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16668, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7689,10 +7689,10 @@ static void corkscrew_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16666, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16670, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7709,7 +7709,7 @@ static void corkscrew_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16669, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7742,7 +7742,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16689, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7755,10 +7755,10 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16686, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16690, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7771,7 +7771,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16688, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7788,7 +7788,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16687, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7821,7 +7821,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16694, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7834,7 +7834,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16691, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7847,10 +7847,10 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16693, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16695, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7867,7 +7867,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16692, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7900,7 +7900,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16679, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7913,10 +7913,10 @@ static void corkscrew_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16676, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16680, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7929,7 +7929,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16678, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7946,7 +7946,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16677, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7979,7 +7979,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16684, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7992,7 +7992,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16681, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8005,10 +8005,10 @@ static void corkscrew_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16683, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16685, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8025,7 +8025,7 @@ static void corkscrew_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16682, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8058,7 +8058,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16682, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8070,10 +8070,10 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16683, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16685, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8085,7 +8085,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16681, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8101,7 +8101,7 @@ static void corkscrew_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16684, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8135,7 +8135,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16677, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8147,7 +8147,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16678, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8159,10 +8159,10 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16676, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16680, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8178,7 +8178,7 @@ static void corkscrew_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16679, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8212,7 +8212,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16692, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8225,10 +8225,10 @@ static void corkscrew_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16693, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16695, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8241,7 +8241,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16691, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8258,7 +8258,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16694, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8291,7 +8291,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16687, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8304,7 +8304,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16688, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8317,10 +8317,10 @@ static void corkscrew_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16686, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16690, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8337,7 +8337,7 @@ static void corkscrew_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16689, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8370,7 +8370,7 @@ static void corkscrew_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16665, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8383,7 +8383,7 @@ static void corkscrew_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16662, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -8396,7 +8396,7 @@ static void corkscrew_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16664, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8413,7 +8413,7 @@ static void corkscrew_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16663, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8446,7 +8446,7 @@ static void corkscrew_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16663, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8459,7 +8459,7 @@ static void corkscrew_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16664, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8472,7 +8472,7 @@ static void corkscrew_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16662, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -8489,7 +8489,7 @@ static void corkscrew_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16665, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8520,12 +8520,12 @@ static void corkscrew_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16232, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16233, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8555,19 +8555,19 @@ static void corkscrew_rc_track_booster( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | sprite_ne_sw_behind, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | sprite_ne_sw_after, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | sprite_nw_se_behind, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | sprite_nw_se_after, 0, 0, 32, 1, 26, height, 0, 27, height); break; diff --git a/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp b/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp index 16b18a92d9..cddfef46ad 100644 --- a/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp @@ -32,19 +32,19 @@ static void flying_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17486, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17487, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17488, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17489, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -60,12 +60,12 @@ static void flying_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17146, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17147, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -88,13 +88,13 @@ static void flying_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27131, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27132, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -106,13 +106,13 @@ static void flying_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27129, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27130, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -145,13 +145,13 @@ static void flying_rc_track_station( { SPR_STATION_BASE_C_SW_NE, 27131, SPR_STATION_INVERTED_BAR_C_SW_NE }, { SPR_STATION_BASE_C_NW_SE, 27132, SPR_STATION_INVERTED_BAR_C_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 6, height + 24); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11); @@ -168,13 +168,13 @@ static void flying_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -201,19 +201,19 @@ static void flying_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17498, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17499, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17500, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17501, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -223,19 +223,19 @@ static void flying_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17204, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17205, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17206, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17207, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -264,22 +264,22 @@ static void flying_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27249, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27250, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27251, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27252, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -290,22 +290,22 @@ static void flying_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27221, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27222, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27223, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27224, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -359,19 +359,19 @@ static void flying_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17220, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17221, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17222, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17223, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -397,22 +397,22 @@ static void flying_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27237, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27238, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27239, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27240, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; @@ -443,19 +443,19 @@ static void flying_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17490, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17491, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17492, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17493, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -465,19 +465,19 @@ static void flying_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17196, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17197, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17198, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17199, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -506,22 +506,22 @@ static void flying_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27241, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27242, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27243, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27244, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -532,22 +532,22 @@ static void flying_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27213, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27214, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27215, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27216, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -601,23 +601,23 @@ static void flying_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17208, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17209, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17212, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17210, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17213, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17211, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -643,28 +643,28 @@ static void flying_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27225, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27229, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27226, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27230, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27227, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27228, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -693,23 +693,23 @@ static void flying_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17214, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17215, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17218, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17216, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17219, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17217, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -735,28 +735,28 @@ static void flying_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27231, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27235, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27232, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27236, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27233, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27234, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -811,19 +811,19 @@ static void flying_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17494, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17495, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17496, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17497, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -833,19 +833,19 @@ static void flying_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17200, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17201, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17202, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17203, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -874,22 +874,22 @@ static void flying_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27245, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27246, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27247, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27248, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -900,22 +900,22 @@ static void flying_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27217, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27218, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27219, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27220, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -1020,22 +1020,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17259, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17264, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17269, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17254, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -1058,22 +1058,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17258, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17263, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17268, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17253, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1089,22 +1089,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17257, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17262, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17267, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17252, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -1121,22 +1121,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17256, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17261, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17266, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17251, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1152,22 +1152,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17255, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17260, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17265, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17250, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -1198,22 +1198,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27142, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27147, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27152, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27137, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1239,22 +1239,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27141, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27146, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27151, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27136, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -1270,22 +1270,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27140, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27145, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27150, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27135, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -1302,22 +1302,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27139, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27144, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27149, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27134, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 22); break; @@ -1333,22 +1333,22 @@ static void flying_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27138, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27143, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27148, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27133, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -1395,23 +1395,23 @@ static void flying_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17156, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17164, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17157, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17165, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17158, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17159, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1430,22 +1430,22 @@ static void flying_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27269, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27270, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27271, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27272, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1476,23 +1476,23 @@ static void flying_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17160, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17161, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17162, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17166, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17163, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17167, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1511,22 +1511,22 @@ static void flying_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27273, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27274, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27275, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27276, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1557,23 +1557,23 @@ static void flying_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17162, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17166, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17163, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17167, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17160, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17161, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1592,22 +1592,22 @@ static void flying_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27275, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27276, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27273, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27274, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1638,23 +1638,23 @@ static void flying_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17158, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17159, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17156, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17164, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17157, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17165, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1673,22 +1673,22 @@ static void flying_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27271, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27272, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27269, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27270, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1722,25 +1722,25 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17279, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17290, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17284, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17289, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17274, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -1763,22 +1763,22 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17278, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17283, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17288, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17273, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1794,22 +1794,22 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17277, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17282, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17287, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17272, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -1826,22 +1826,22 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17276, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17281, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17286, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17271, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1857,25 +1857,25 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17275, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17280, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17285, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17291, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17270, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -1906,22 +1906,22 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27162, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27167, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27172, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27157, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -1955,12 +1955,12 @@ static void flying_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 27166, 0, 0, 32, 16, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27171, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27156, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 24); break; @@ -1976,17 +1976,17 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27160, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27165, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27170, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 24); break; @@ -2007,7 +2007,7 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27159, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 24); break; @@ -2020,7 +2020,7 @@ static void flying_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 27169, 0, 0, 16, 32, 3, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27154, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 24); break; @@ -2036,22 +2036,22 @@ static void flying_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27158, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27163, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27168, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27153, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; @@ -2098,23 +2098,23 @@ static void flying_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17168, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17172, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17169, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17173, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17170, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17171, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2140,22 +2140,22 @@ static void flying_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27277, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27278, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27279, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27280, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2210,23 +2210,23 @@ static void flying_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17174, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17175, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17176, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17178, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17177, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17179, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -2252,22 +2252,22 @@ static void flying_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27281, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27282, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27283, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27284, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2322,23 +2322,23 @@ static void flying_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17180, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17184, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17181, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17185, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17182, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17183, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2364,22 +2364,22 @@ static void flying_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27285, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27286, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27287, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27288, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2434,23 +2434,23 @@ static void flying_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17186, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17187, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17188, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17190, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17189, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17191, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -2476,22 +2476,22 @@ static void flying_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27289, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27290, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27291, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27292, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2578,19 +2578,19 @@ static void flying_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17192, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17193, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17194, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17195, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2609,22 +2609,22 @@ static void flying_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27293, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27294, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27295, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27296, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -2666,22 +2666,22 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17344, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17349, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17354, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17359, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -2712,12 +2712,12 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17350, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17355, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17360, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -2733,17 +2733,17 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17346, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17351, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17356, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -2764,7 +2764,7 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17347, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2777,7 +2777,7 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17357, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17362, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2793,22 +2793,22 @@ static void flying_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17348, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17353, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17358, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17363, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -3010,22 +3010,22 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17324, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17329, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17334, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17339, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3048,12 +3048,12 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17325, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17330, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3081,17 +3081,17 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17326, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17331, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17336, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17341, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3108,7 +3108,7 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17327, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3121,7 +3121,7 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17337, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17342, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3137,22 +3137,22 @@ static void flying_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17328, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17333, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17338, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17343, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -3372,22 +3372,22 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17308, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17312, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17311, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17315, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3419,12 +3419,12 @@ static void flying_rc_track_s_bend_left( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17310, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17314, 0, 0, 32, 26, 3, height, 0, 6, height); break; @@ -3440,12 +3440,12 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17310, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17314, 0, 0, 32, 26, 3, height, 0, 6, height); break; @@ -3473,22 +3473,22 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17311, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17315, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17308, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17312, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3519,22 +3519,22 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27253, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27257, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27256, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27260, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3556,22 +3556,22 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27254, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27258, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27255, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27259, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; @@ -3600,22 +3600,22 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27255, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27259, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27254, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27258, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; @@ -3644,22 +3644,22 @@ static void flying_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27256, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27260, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27253, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27257, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3699,22 +3699,22 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17316, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17320, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17319, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17323, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3734,14 +3734,14 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17317, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17321, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( @@ -3775,14 +3775,14 @@ static void flying_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 17322, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17317, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17321, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( @@ -3800,22 +3800,22 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17319, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17323, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17316, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17320, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3846,22 +3846,22 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27261, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27265, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27264, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27268, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3883,22 +3883,22 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27262, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27266, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27263, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27267, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; @@ -3927,22 +3927,22 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27263, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27267, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27262, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27266, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; @@ -3971,22 +3971,22 @@ static void flying_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27264, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27268, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27261, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27265, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -4026,22 +4026,22 @@ static void flying_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17229, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17232, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17235, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17226, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4064,22 +4064,22 @@ static void flying_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17228, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17231, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17234, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17225, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -4093,22 +4093,22 @@ static void flying_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17227, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17230, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17233, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17224, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -4139,22 +4139,22 @@ static void flying_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27392, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27395, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27398, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27389, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -4180,22 +4180,22 @@ static void flying_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27391, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27394, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27397, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27388, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -4209,22 +4209,22 @@ static void flying_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27390, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27393, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27396, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27387, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -4274,25 +4274,25 @@ static void flying_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17241, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17244, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17247, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17238, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4315,22 +4315,22 @@ static void flying_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17240, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17243, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17246, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17237, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -4344,25 +4344,25 @@ static void flying_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17239, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17242, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17245, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17249, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17236, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -4393,22 +4393,22 @@ static void flying_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27404, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27407, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27410, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27401, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -4434,22 +4434,22 @@ static void flying_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27403, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27406, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27409, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27400, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -4463,22 +4463,22 @@ static void flying_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27402, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27405, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27408, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27399, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -4892,23 +4892,23 @@ static void flying_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17399, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17406, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17402, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17405, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17396, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4930,22 +4930,22 @@ static void flying_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17398, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17401, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17404, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17395, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -4958,23 +4958,23 @@ static void flying_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17397, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17400, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17403, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17407, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17394, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4998,23 +4998,23 @@ static void flying_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17396, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17399, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17406, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17402, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17405, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5041,22 +5041,22 @@ static void flying_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17395, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17398, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17401, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17404, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -5069,22 +5069,22 @@ static void flying_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17394, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17397, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17400, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17403, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17407, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5114,22 +5114,22 @@ static void flying_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17380, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17383, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17386, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17389, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17393, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5152,22 +5152,22 @@ static void flying_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17381, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17384, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17387, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17390, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -5180,23 +5180,23 @@ static void flying_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17382, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17385, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17392, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17388, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17391, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5220,23 +5220,23 @@ static void flying_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17383, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17386, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17389, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17393, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17380, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5263,22 +5263,22 @@ static void flying_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17384, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17387, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17390, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17381, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -5291,23 +5291,23 @@ static void flying_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17385, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17392, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17388, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17391, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17382, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -5366,23 +5366,23 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17439, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17450, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17444, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17449, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17434, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -5404,21 +5404,21 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17438, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17443, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17448, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17433, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -5434,22 +5434,22 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17437, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17442, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17447, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17432, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -5464,21 +5464,21 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17436, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17441, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17446, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17431, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -5494,23 +5494,23 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17435, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17440, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17445, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17451, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17430, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5534,23 +5534,23 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17434, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17439, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17450, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17444, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17449, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5577,21 +5577,21 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17433, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17438, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17443, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17448, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -5607,21 +5607,21 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17432, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17437, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17442, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17447, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5637,22 +5637,22 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17431, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17436, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17441, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17446, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -5667,22 +5667,22 @@ static void flying_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17430, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17435, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17440, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17445, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17451, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5712,22 +5712,22 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17408, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17413, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17418, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17423, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17429, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5750,22 +5750,22 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17409, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17414, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17419, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17424, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -5780,21 +5780,21 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17410, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17415, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17420, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17425, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5810,21 +5810,21 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17411, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17416, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17421, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17426, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -5840,23 +5840,23 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17412, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17417, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17428, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17422, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17427, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5880,23 +5880,23 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17413, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17418, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17423, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17429, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17408, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5923,21 +5923,21 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17414, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17419, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17424, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17409, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -5953,22 +5953,22 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17415, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17420, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17425, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17410, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -5983,21 +5983,21 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17416, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17421, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17426, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17411, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -6013,23 +6013,23 @@ static void flying_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17417, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17428, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17422, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17427, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17412, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -6087,30 +6087,30 @@ static void flying_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17301, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17305, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17302, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17306, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17303, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17307, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17300, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17304, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; @@ -6121,34 +6121,34 @@ static void flying_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27352, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27348, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27353, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27349, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27354, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27350, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27351, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27347, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; @@ -6170,30 +6170,30 @@ static void flying_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17292, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17296, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17293, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17297, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17294, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17298, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17295, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17299, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; @@ -6204,34 +6204,34 @@ static void flying_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27343, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27339, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27344, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27340, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27345, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27341, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27346, 0, 0, 28, 28, 3, height - 5, 2, 2, height - 5); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27342, 0, 0, 28, 28, 1, height - 5, 2, 2, height + 94); break; @@ -6269,12 +6269,12 @@ static void flying_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17148, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17149, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -6294,13 +6294,13 @@ static void flying_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27337, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27338, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -6346,22 +6346,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27202, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27207, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27212, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27197, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; @@ -6386,22 +6386,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27201, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27206, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27211, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27196, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; @@ -6417,22 +6417,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27200, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27205, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27210, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27195, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; @@ -6448,22 +6448,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27199, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27204, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27209, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27194, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -6479,22 +6479,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27198, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27203, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27208, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27193, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; @@ -6531,22 +6531,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27173, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27178, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27183, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27188, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; @@ -6571,22 +6571,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27174, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27179, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27184, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27189, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; @@ -6602,22 +6602,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27175, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27180, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27185, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27190, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; @@ -6633,22 +6633,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27176, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27181, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27186, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27191, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -6664,22 +6664,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27177, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27182, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27187, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27192, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; @@ -6716,22 +6716,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27182, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27187, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27192, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27177, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; @@ -6756,22 +6756,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27181, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27186, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27191, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27176, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; @@ -6787,22 +6787,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27180, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27185, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27190, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27175, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; @@ -6818,22 +6818,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27179, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27184, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27189, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27174, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -6849,22 +6849,22 @@ static void flying_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27178, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27183, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27188, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27173, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; @@ -6901,22 +6901,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27193, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27198, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27203, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27208, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; @@ -6941,22 +6941,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27194, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27199, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27204, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27209, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; @@ -6972,22 +6972,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27195, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27200, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27205, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27210, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; @@ -7003,22 +7003,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27196, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27201, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27206, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27211, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -7034,22 +7034,22 @@ static void flying_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27197, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27202, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27207, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27212, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; @@ -7085,19 +7085,19 @@ static void flying_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17914, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17915, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17916, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17917, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -7123,22 +7123,22 @@ static void flying_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27711, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27712, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27713, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27714, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -7191,19 +7191,19 @@ static void flying_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17918, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17919, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17920, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17921, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -7229,22 +7229,22 @@ static void flying_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27715, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27716, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27717, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27718, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -7302,7 +7302,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17146, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: @@ -7311,7 +7311,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17147, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: @@ -7320,7 +7320,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17146, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: @@ -7329,7 +7329,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17147, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -7348,7 +7348,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27129, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7358,7 +7358,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27130, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7368,7 +7368,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27129, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7378,7 +7378,7 @@ static void flying_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27130, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7419,22 +7419,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17546, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17550, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17554, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17558, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7453,22 +7453,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17547, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17551, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17555, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17559, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -7484,22 +7484,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17548, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17552, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17556, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17560, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -7520,28 +7520,28 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17549, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17553, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17557, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17561, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -7565,22 +7565,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27507, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27511, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27515, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27519, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -7601,22 +7601,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27508, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27512, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27516, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27520, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -7632,22 +7632,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27509, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27513, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27517, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27521, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -7668,22 +7668,22 @@ static void flying_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27510, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27514, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27518, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27522, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; @@ -7733,22 +7733,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17530, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17534, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17538, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17542, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7767,22 +7767,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17531, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17535, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17539, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17543, 0, 0, 32, 16, 3, height, 0, 0, height); break; @@ -7798,22 +7798,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17532, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17536, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17540, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17544, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -7834,28 +7834,28 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17533, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17537, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17541, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17545, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -7879,22 +7879,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27491, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27495, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27499, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27503, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -7915,22 +7915,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27492, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27496, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27500, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27504, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; @@ -7946,22 +7946,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27493, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27497, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27501, 0, 0, 28, 28, 3, height + 24, 4, 4, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27505, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; @@ -7982,22 +7982,22 @@ static void flying_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27494, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27498, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27502, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27506, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -8065,22 +8065,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17578, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17582, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17586, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17590, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -8099,22 +8099,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17579, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17583, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17587, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17591, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -8130,22 +8130,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17580, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17584, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17588, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17592, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -8166,28 +8166,28 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17581, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17585, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17589, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17593, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -8211,22 +8211,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27539, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27543, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27547, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27551, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -8248,22 +8248,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27540, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27544, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27548, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27552, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -8279,22 +8279,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27541, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27545, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27549, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27553, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -8315,22 +8315,22 @@ static void flying_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27542, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27546, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27550, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27554, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; @@ -8380,22 +8380,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17562, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17566, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17570, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17574, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -8414,22 +8414,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17563, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17567, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17571, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17575, 0, 0, 32, 16, 3, height, 0, 0, height); break; @@ -8445,22 +8445,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17564, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17568, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17572, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17576, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -8481,28 +8481,28 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17565, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17569, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17573, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17577, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -8526,22 +8526,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27523, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27527, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27531, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27535, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -8563,22 +8563,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27524, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27528, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27532, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27536, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; @@ -8594,22 +8594,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27525, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27529, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27533, 0, 0, 28, 28, 3, height + 24, 4, 4, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27537, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; @@ -8630,22 +8630,22 @@ static void flying_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27526, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27530, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27534, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27538, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -8715,7 +8715,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17861, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8726,7 +8726,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17791, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8743,7 +8743,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17858, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8754,7 +8754,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17788, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8771,7 +8771,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17860, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8782,7 +8782,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17790, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8803,7 +8803,7 @@ static void flying_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17859, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8828,7 +8828,7 @@ static void flying_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17789, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8861,7 +8861,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27614, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8872,7 +8872,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27558, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8889,7 +8889,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27611, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8900,7 +8900,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27555, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8917,7 +8917,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27613, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8928,7 +8928,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27557, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8945,7 +8945,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27612, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8956,7 +8956,7 @@ static void flying_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27556, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9007,7 +9007,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17873, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9018,7 +9018,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17803, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9035,7 +9035,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17870, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9046,7 +9046,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17800, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9063,7 +9063,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17872, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9074,7 +9074,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17802, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9095,7 +9095,7 @@ static void flying_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17871, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9120,7 +9120,7 @@ static void flying_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17801, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9153,7 +9153,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27626, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9164,7 +9164,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27570, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9181,7 +9181,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27623, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9192,7 +9192,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27567, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9209,7 +9209,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27625, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9220,7 +9220,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27569, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9237,7 +9237,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27624, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9248,7 +9248,7 @@ static void flying_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27568, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -9299,7 +9299,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17885, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9310,7 +9310,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17815, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9327,7 +9327,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17882, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9338,7 +9338,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17812, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9355,7 +9355,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17884, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9366,7 +9366,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17814, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9387,7 +9387,7 @@ static void flying_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17883, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9412,7 +9412,7 @@ static void flying_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17813, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9443,7 +9443,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27582, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -9457,7 +9457,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27579, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -9471,7 +9471,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27581, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -9485,7 +9485,7 @@ static void flying_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27580, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 24); break; @@ -9535,7 +9535,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17865, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9546,7 +9546,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17795, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9563,7 +9563,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17862, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9574,7 +9574,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17792, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9591,7 +9591,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17864, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9602,7 +9602,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17794, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9623,7 +9623,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17863, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9648,7 +9648,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17793, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9681,7 +9681,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27618, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9692,7 +9692,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27562, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9709,7 +9709,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27615, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9720,7 +9720,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27559, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9737,7 +9737,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27617, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9748,7 +9748,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27561, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9765,7 +9765,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27616, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9776,7 +9776,7 @@ static void flying_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27560, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9827,7 +9827,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17877, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9838,7 +9838,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17807, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9855,7 +9855,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17874, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9866,7 +9866,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17804, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9883,7 +9883,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17876, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9894,7 +9894,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17806, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9915,7 +9915,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17875, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9940,7 +9940,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17805, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9971,7 +9971,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27574, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9985,7 +9985,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27571, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9999,7 +9999,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27573, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -10013,7 +10013,7 @@ static void flying_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27572, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -10063,7 +10063,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17881, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10074,7 +10074,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17811, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10091,7 +10091,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17878, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10102,7 +10102,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17808, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10119,7 +10119,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17880, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10130,7 +10130,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17810, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10151,7 +10151,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17879, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -10176,7 +10176,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17809, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -10207,7 +10207,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27578, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -10221,7 +10221,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27575, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -10235,7 +10235,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27577, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -10249,7 +10249,7 @@ static void flying_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27576, -16, -16, 16, 16, 3, height + 24, 0, 0, height + 56); break; @@ -10299,7 +10299,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17869, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10310,7 +10310,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17799, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10327,7 +10327,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17866, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10338,7 +10338,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17796, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10355,7 +10355,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17868, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10366,7 +10366,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17798, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10387,7 +10387,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17867, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10412,7 +10412,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17797, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10445,7 +10445,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27622, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10456,7 +10456,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27566, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10473,7 +10473,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27619, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10484,7 +10484,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27563, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10501,7 +10501,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27621, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10512,7 +10512,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27565, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10529,7 +10529,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27620, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10540,7 +10540,7 @@ static void flying_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27564, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10591,7 +10591,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17871, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10602,7 +10602,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17801, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10619,7 +10619,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17872, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10630,7 +10630,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17802, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10647,7 +10647,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17870, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10658,7 +10658,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17800, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10679,7 +10679,7 @@ static void flying_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17873, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10704,7 +10704,7 @@ static void flying_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17803, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10735,7 +10735,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27568, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10749,7 +10749,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27569, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10763,7 +10763,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27567, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10777,7 +10777,7 @@ static void flying_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27570, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10827,7 +10827,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17883, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10838,7 +10838,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17813, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10855,7 +10855,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17884, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10866,7 +10866,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17814, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10883,7 +10883,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17882, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10894,7 +10894,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17812, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10915,7 +10915,7 @@ static void flying_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17885, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10940,7 +10940,7 @@ static void flying_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17815, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10971,7 +10971,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27580, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 24); break; @@ -10985,7 +10985,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27581, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -10999,7 +10999,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27579, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -11013,7 +11013,7 @@ static void flying_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27582, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -11063,7 +11063,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17867, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11074,7 +11074,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17797, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11090,7 +11090,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17868, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11101,7 +11101,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17798, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11117,7 +11117,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17866, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11128,7 +11128,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17796, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11148,7 +11148,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17869, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11173,7 +11173,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17799, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11203,7 +11203,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27564, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11216,7 +11216,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27565, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11229,7 +11229,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27563, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11242,7 +11242,7 @@ static void flying_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27566, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11292,7 +11292,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17879, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -11303,7 +11303,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17809, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -11320,7 +11320,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17880, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11331,7 +11331,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17810, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11348,7 +11348,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17878, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11359,7 +11359,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17808, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11380,7 +11380,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17881, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11405,7 +11405,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17811, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11436,7 +11436,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27576, -16, -16, 16, 16, 3, height + 24, 0, 0, height + 56); break; @@ -11450,7 +11450,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27577, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11464,7 +11464,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27575, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11478,7 +11478,7 @@ static void flying_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27578, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11528,7 +11528,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17875, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11539,7 +11539,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17805, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11556,7 +11556,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17876, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11567,7 +11567,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17806, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11584,7 +11584,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17874, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11595,7 +11595,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17804, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11616,7 +11616,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17877, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11641,7 +11641,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17807, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11672,7 +11672,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27572, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11686,7 +11686,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27573, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11700,7 +11700,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27571, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11714,7 +11714,7 @@ static void flying_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27574, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11764,7 +11764,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17863, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11775,7 +11775,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17793, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11792,7 +11792,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17864, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11803,7 +11803,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17794, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11820,7 +11820,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17862, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11831,7 +11831,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17792, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11852,7 +11852,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17865, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11877,7 +11877,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17795, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11908,7 +11908,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27560, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11922,7 +11922,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27561, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11936,7 +11936,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27559, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11950,7 +11950,7 @@ static void flying_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27562, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11998,7 +11998,7 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17831, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12012,10 +12012,10 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17828, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17832, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -12029,7 +12029,7 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17830, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12047,7 +12047,7 @@ static void flying_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17829, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -12077,7 +12077,7 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27590, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12091,7 +12091,7 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27587, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12105,7 +12105,7 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27589, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12119,7 +12119,7 @@ static void flying_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27588, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12168,7 +12168,7 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17836, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12182,7 +12182,7 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17833, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12196,10 +12196,10 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17835, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17837, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -12217,7 +12217,7 @@ static void flying_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17834, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -12247,7 +12247,7 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27594, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12261,7 +12261,7 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27591, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12275,7 +12275,7 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27593, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12289,7 +12289,7 @@ static void flying_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27592, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12338,7 +12338,7 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17834, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12352,10 +12352,10 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17835, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17837, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -12369,7 +12369,7 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17833, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12387,7 +12387,7 @@ static void flying_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17836, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -12417,7 +12417,7 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27592, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12431,7 +12431,7 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27593, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12445,7 +12445,7 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27591, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12459,7 +12459,7 @@ static void flying_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27594, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12508,7 +12508,7 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17829, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12522,7 +12522,7 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17830, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12536,10 +12536,10 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17828, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17832, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -12557,7 +12557,7 @@ static void flying_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17831, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -12587,7 +12587,7 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27588, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12601,7 +12601,7 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27589, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12615,7 +12615,7 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27587, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12629,7 +12629,7 @@ static void flying_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27590, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12678,7 +12678,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17851, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12692,10 +12692,10 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17848, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17852, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -12709,7 +12709,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17850, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12727,7 +12727,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17849, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -12757,7 +12757,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27606, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12771,7 +12771,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27603, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12785,7 +12785,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27605, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12799,7 +12799,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27604, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12847,7 +12847,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17856, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12861,7 +12861,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17853, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12875,10 +12875,10 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17855, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17857, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -12896,7 +12896,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17854, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -12926,7 +12926,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27610, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12940,7 +12940,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27607, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12954,7 +12954,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27609, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12968,7 +12968,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27608, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13016,7 +13016,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17841, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13030,10 +13030,10 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17838, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17842, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13047,7 +13047,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17840, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13065,7 +13065,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17839, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13095,7 +13095,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27598, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13109,7 +13109,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27595, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13123,7 +13123,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27597, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13137,7 +13137,7 @@ static void flying_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27596, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13185,7 +13185,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17846, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13199,7 +13199,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17843, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13213,10 +13213,10 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17845, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17847, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13234,7 +13234,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17844, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13264,7 +13264,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27602, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13278,7 +13278,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27599, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13292,7 +13292,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27601, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13306,7 +13306,7 @@ static void flying_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27600, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13354,7 +13354,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17844, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13367,10 +13367,10 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17845, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17847, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13383,7 +13383,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17843, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13400,7 +13400,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17846, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13429,7 +13429,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27600, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13442,7 +13442,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27601, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13455,7 +13455,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27599, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13468,7 +13468,7 @@ static void flying_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27602, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13516,7 +13516,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17839, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13529,7 +13529,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17840, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13542,10 +13542,10 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17838, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17842, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13562,7 +13562,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17841, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13591,7 +13591,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27596, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13604,7 +13604,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27597, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13617,7 +13617,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27595, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13630,7 +13630,7 @@ static void flying_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27598, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13678,7 +13678,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17854, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13692,10 +13692,10 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17855, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17857, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13709,7 +13709,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17853, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13727,7 +13727,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17856, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13757,7 +13757,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27608, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13771,7 +13771,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27609, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13785,7 +13785,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27607, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13799,7 +13799,7 @@ static void flying_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27610, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13847,7 +13847,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17849, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13861,7 +13861,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17850, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13875,10 +13875,10 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17848, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17852, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13896,7 +13896,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17851, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13926,7 +13926,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27604, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13940,7 +13940,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27605, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13954,7 +13954,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27603, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13968,7 +13968,7 @@ static void flying_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27606, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -14016,7 +14016,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17827, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -14030,7 +14030,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17824, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -14044,7 +14044,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17826, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -14062,7 +14062,7 @@ static void flying_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17825, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -14092,7 +14092,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27586, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14106,7 +14106,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27583, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14120,7 +14120,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27585, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14134,7 +14134,7 @@ static void flying_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27584, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14183,7 +14183,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17825, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -14197,7 +14197,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17826, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -14211,7 +14211,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17824, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -14229,7 +14229,7 @@ static void flying_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17827, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -14259,7 +14259,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27584, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14273,7 +14273,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27585, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14287,7 +14287,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27583, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14301,7 +14301,7 @@ static void flying_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27586, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14381,7 +14381,7 @@ static void flying_rc_track_left_flyer_twist_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27431, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14409,7 +14409,7 @@ static void flying_rc_track_left_flyer_twist_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27432, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14578,7 +14578,7 @@ static void flying_rc_track_left_flyer_twist_down( session, direction, session->TrackColours[SCHEME_TRACK] | 27433, 0, 6, 32, 20, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27432, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14614,7 +14614,7 @@ static void flying_rc_track_left_flyer_twist_down( session, direction, session->TrackColours[SCHEME_TRACK] | 27434, 0, 6, 32, 20, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27431, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14822,20 +14822,20 @@ static void flying_rc_track_flyer_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17627, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17635, 0, 14, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17632, 0, 6, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( @@ -14859,7 +14859,7 @@ static void flying_rc_track_flyer_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17628, 16, 0, 2, 16, 119, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17636, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -14868,7 +14868,7 @@ static void flying_rc_track_flyer_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17631, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17639, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -14954,7 +14954,7 @@ static void flying_rc_track_flyer_half_loop_down( session, direction, session->TrackColours[SCHEME_TRACK] | 17628, 16, 0, 2, 16, 119, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17636, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -14963,7 +14963,7 @@ static void flying_rc_track_flyer_half_loop_down( session, direction, session->TrackColours[SCHEME_TRACK] | 17631, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17639, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -14979,20 +14979,20 @@ static void flying_rc_track_flyer_half_loop_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17627, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17635, 0, 14, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17632, 0, 6, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( @@ -15052,12 +15052,12 @@ static void flying_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17150, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17151, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -15074,13 +15074,13 @@ static void flying_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27337, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27338, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -15116,7 +15116,7 @@ static void flying_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18025, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18027, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -15154,12 +15154,12 @@ static void flying_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18024, 6, 0, 20, 32, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18026, 6, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18028, 6, 0, 1, 32, 34, height, 27, 0, height); break; @@ -15294,7 +15294,7 @@ static void flying_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18016, 0, 6, 32, 20, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18018, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -15330,14 +15330,14 @@ static void flying_rc_track_right_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18017, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18019, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( @@ -15486,22 +15486,22 @@ static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17978, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17983, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17988, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17993, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -15528,17 +15528,17 @@ static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17979, 0, 0, 32, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17984, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17989, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17994, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -15554,17 +15554,17 @@ static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17980, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17985, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17990, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -15585,22 +15585,22 @@ static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17981, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17986, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17991, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17996, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -15616,22 +15616,22 @@ static void flying_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17982, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17987, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17992, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17997, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -15833,22 +15833,22 @@ static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17958, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17963, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17968, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17973, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -15871,17 +15871,17 @@ static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17959, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17964, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17969, 0, 0, 1, 1, 34, height, 30, 30, height); break; @@ -15905,17 +15905,17 @@ static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 17960, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17965, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17970, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17975, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -15932,22 +15932,22 @@ static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17961, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17966, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17971, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17976, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -15963,22 +15963,22 @@ static void flying_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17962, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17967, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17972, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17977, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -16197,21 +16197,21 @@ static void flying_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17922, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17923, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17930, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17924, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17925, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16237,22 +16237,22 @@ static void flying_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27719, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27720, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27721, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27722, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -16305,21 +16305,21 @@ static void flying_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17926, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17927, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17928, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17931, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17929, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16345,22 +16345,22 @@ static void flying_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27723, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27724, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27725, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27726, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -16413,21 +16413,21 @@ static void flying_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17932, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17933, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17940, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17934, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17935, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16453,22 +16453,22 @@ static void flying_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27727, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27728, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27729, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27730, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -16521,21 +16521,21 @@ static void flying_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17936, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17937, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17938, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17941, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17939, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16561,22 +16561,22 @@ static void flying_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27731, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27732, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27733, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27734, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -16665,19 +16665,19 @@ static void flying_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17942, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17943, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17944, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17945, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16703,22 +16703,22 @@ static void flying_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27735, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27736, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27737, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27738, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -16771,19 +16771,19 @@ static void flying_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17946, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17947, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17948, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17949, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16809,22 +16809,22 @@ static void flying_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27739, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27740, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27741, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27742, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -16877,19 +16877,19 @@ static void flying_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17950, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17951, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17952, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17953, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -16915,22 +16915,22 @@ static void flying_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27743, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27744, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27745, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27746, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -16983,19 +16983,19 @@ static void flying_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17954, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17955, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17956, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17957, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -17021,22 +17021,22 @@ static void flying_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27747, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27748, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27749, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27750, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -17125,21 +17125,21 @@ static void flying_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17894, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17895, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17902, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17896, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17897, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -17165,22 +17165,22 @@ static void flying_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27695, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27696, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27697, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27698, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -17233,21 +17233,21 @@ static void flying_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17898, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17899, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17900, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17903, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17901, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -17273,22 +17273,22 @@ static void flying_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27699, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27700, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27701, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27702, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -17341,21 +17341,21 @@ static void flying_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17904, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17905, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17912, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17906, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17907, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -17381,22 +17381,22 @@ static void flying_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27703, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27704, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27705, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27706, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -17449,21 +17449,21 @@ static void flying_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17908, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17909, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17910, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17913, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17911, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -17489,22 +17489,22 @@ static void flying_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27707, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27708, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27709, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27710, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; diff --git a/src/openrct2/ride/coaster/GigaCoaster.cpp b/src/openrct2/ride/coaster/GigaCoaster.cpp index e59416a3cf..16080396c2 100644 --- a/src/openrct2/ride/coaster/GigaCoaster.cpp +++ b/src/openrct2/ride/coaster/GigaCoaster.cpp @@ -30,12 +30,12 @@ static void giga_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18692, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18693, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -49,19 +49,19 @@ static void giga_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18382, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18383, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18384, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18385, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -76,12 +76,12 @@ static void giga_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18074, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18075, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -109,13 +109,13 @@ static void giga_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -138,19 +138,19 @@ static void giga_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18702, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18703, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18704, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18705, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -164,19 +164,19 @@ static void giga_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18394, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18395, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18396, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18397, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -190,19 +190,19 @@ static void giga_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18134, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18135, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18136, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18137, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -234,19 +234,19 @@ static void giga_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18718, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18719, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18720, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18721, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -260,19 +260,19 @@ static void giga_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18150, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18151, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18152, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18153, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -304,19 +304,19 @@ static void giga_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18694, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18695, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18696, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18697, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -330,19 +330,19 @@ static void giga_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18386, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18387, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18388, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18389, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -356,19 +356,19 @@ static void giga_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18126, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18127, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18128, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18129, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -400,23 +400,23 @@ static void giga_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18706, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18707, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18710, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18708, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18711, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18709, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -430,23 +430,23 @@ static void giga_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18138, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18139, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18142, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18140, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18143, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18141, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -478,23 +478,23 @@ static void giga_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18712, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18713, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18716, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18714, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18717, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18715, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -508,23 +508,23 @@ static void giga_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18144, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18145, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18148, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18146, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18149, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18147, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -556,19 +556,19 @@ static void giga_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18698, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18699, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18700, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18701, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -582,19 +582,19 @@ static void giga_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18390, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18391, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18392, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18393, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -608,19 +608,19 @@ static void giga_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18130, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18131, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18132, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18133, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -701,19 +701,19 @@ static void giga_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18189, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18194, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18199, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18184, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -733,20 +733,20 @@ static void giga_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18188, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18193, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18198, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18183, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -762,22 +762,22 @@ static void giga_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18187, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18192, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18197, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18182, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -792,20 +792,20 @@ static void giga_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18186, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18191, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18196, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18181, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -821,19 +821,19 @@ static void giga_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18185, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18190, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18195, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18180, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -871,23 +871,23 @@ static void giga_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18086, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18094, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18087, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18095, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18088, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18089, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -909,23 +909,23 @@ static void giga_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18090, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18091, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18092, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18096, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18093, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18097, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -947,23 +947,23 @@ static void giga_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18092, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18096, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18093, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18097, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18090, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18091, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -985,23 +985,23 @@ static void giga_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18088, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18089, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18086, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18094, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18087, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18095, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1026,23 +1026,23 @@ static void giga_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18209, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18220, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18214, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18219, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18204, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1062,21 +1062,21 @@ static void giga_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18208, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18213, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18218, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18203, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1092,22 +1092,22 @@ static void giga_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18207, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18212, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18217, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18202, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -1122,21 +1122,21 @@ static void giga_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18206, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18211, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18216, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18201, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1152,23 +1152,23 @@ static void giga_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18205, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18210, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18215, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18221, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18200, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1206,23 +1206,23 @@ static void giga_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18098, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18102, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18099, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18103, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18100, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18101, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1251,23 +1251,23 @@ static void giga_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18104, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18105, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18106, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18108, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18107, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18109, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1296,23 +1296,23 @@ static void giga_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18110, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18114, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18111, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18115, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18112, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18113, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1341,23 +1341,23 @@ static void giga_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18116, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18117, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18118, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18120, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18119, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18121, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1418,19 +1418,19 @@ static void giga_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18122, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18123, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18124, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18125, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1463,19 +1463,19 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18274, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18279, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18284, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18289, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1503,12 +1503,12 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18280, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18285, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18290, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1524,17 +1524,17 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18276, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18281, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18286, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1554,7 +1554,7 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18277, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1567,7 +1567,7 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18287, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18292, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1583,19 +1583,19 @@ static void giga_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18278, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18283, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18288, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18293, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1627,19 +1627,19 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18254, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18259, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18264, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18269, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1659,12 +1659,12 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18255, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18260, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1692,17 +1692,17 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18256, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18261, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18266, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18271, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -1718,7 +1718,7 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18257, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1731,7 +1731,7 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18267, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18272, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1747,19 +1747,19 @@ static void giga_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18258, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18263, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18268, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18273, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1809,19 +1809,19 @@ static void giga_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18238, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18242, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18241, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18245, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1850,11 +1850,11 @@ static void giga_rc_track_s_bend_left( session, METAL_SUPPORTS_TUBES, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18240, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18244, 0, 0, 32, 26, 3, height, 0, 6, height); break; } @@ -1869,11 +1869,11 @@ static void giga_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18240, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18244, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 2: @@ -1900,19 +1900,19 @@ static void giga_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18241, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18245, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18238, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18242, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1944,19 +1944,19 @@ static void giga_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18246, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18250, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18249, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18253, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1973,13 +1973,13 @@ static void giga_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18247, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18251, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2012,13 +2012,13 @@ static void giga_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 18252, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18247, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18251, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2035,19 +2035,19 @@ static void giga_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18249, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18253, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18246, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18250, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2079,19 +2079,19 @@ static void giga_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18159, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18162, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18165, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18156, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2111,21 +2111,21 @@ static void giga_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18158, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18161, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18164, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18155, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2138,19 +2138,19 @@ static void giga_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18157, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18160, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18163, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18154, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2191,23 +2191,23 @@ static void giga_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18171, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18178, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18174, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18177, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18168, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2227,22 +2227,22 @@ static void giga_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18170, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18173, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18176, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18167, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2255,23 +2255,23 @@ static void giga_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18169, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18172, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18175, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18179, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18166, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2495,23 +2495,23 @@ static void giga_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18329, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18336, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18332, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18335, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18326, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2532,22 +2532,22 @@ static void giga_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18328, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18331, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18334, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18325, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2560,23 +2560,23 @@ static void giga_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18327, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18330, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18333, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18337, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18324, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2599,23 +2599,23 @@ static void giga_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18326, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18329, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18336, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18332, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18335, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2641,22 +2641,22 @@ static void giga_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18325, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18328, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18331, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18334, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -2669,22 +2669,22 @@ static void giga_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18324, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18327, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18330, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18333, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18337, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -2713,22 +2713,22 @@ static void giga_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18310, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18313, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18316, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18319, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18323, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -2750,22 +2750,22 @@ static void giga_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18311, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18314, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18317, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18320, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -2778,23 +2778,23 @@ static void giga_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18312, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18315, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18322, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18318, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18321, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2817,23 +2817,23 @@ static void giga_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18313, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18316, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18319, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18323, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18310, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2859,22 +2859,22 @@ static void giga_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18314, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18317, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18320, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18311, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2887,23 +2887,23 @@ static void giga_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18315, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18322, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18318, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18321, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18312, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2959,23 +2959,23 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18369, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18380, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18374, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18379, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18364, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2996,21 +2996,21 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18368, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18373, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18378, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18363, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3026,22 +3026,22 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18367, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18372, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18377, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18362, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3056,21 +3056,21 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18366, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18371, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18376, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18361, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3086,23 +3086,23 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18365, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18370, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18375, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18381, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18360, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3125,23 +3125,23 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18364, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18369, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18380, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18374, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18379, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3167,21 +3167,21 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18363, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18368, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18373, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18378, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3197,21 +3197,21 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18362, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18367, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18372, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18377, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3227,22 +3227,22 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18361, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18366, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18371, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18376, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3257,22 +3257,22 @@ static void giga_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18360, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18365, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18370, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18375, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18381, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3301,22 +3301,22 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18338, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18343, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18348, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18353, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18359, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3338,22 +3338,22 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18339, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18344, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18349, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18354, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3368,21 +3368,21 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18340, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18345, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18350, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18355, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3398,21 +3398,21 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18341, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18346, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18351, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18356, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3428,29 +3428,29 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18342, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18347, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18358, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 3, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18352, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18357, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3474,23 +3474,23 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18343, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18348, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18353, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18359, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18338, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3516,21 +3516,21 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18344, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18349, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18354, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18339, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3546,22 +3546,22 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18345, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18350, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18355, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18340, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3576,21 +3576,21 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18346, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18351, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18356, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18341, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3606,29 +3606,29 @@ static void giga_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18347, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18358, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 3, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18352, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18357, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18342, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3682,27 +3682,27 @@ static void giga_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18231, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18235, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18232, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18236, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18233, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18237, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18230, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18234, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -3719,27 +3719,27 @@ static void giga_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18222, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18226, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18223, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18227, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18224, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18228, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18225, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18229, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -3773,16 +3773,16 @@ static void giga_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18078, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18082, 0, 0, 32, 1, 11, height, 0, 27, height + 5); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18079, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18083, 0, 0, 32, 1, 11, height, 0, 27, height + 5); break; } @@ -3804,19 +3804,19 @@ static void giga_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18560, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18561, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18562, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18563, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3845,19 +3845,19 @@ static void giga_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18564, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18565, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18566, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18567, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3889,28 +3889,28 @@ static void giga_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18074, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18075, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18074, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18075, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -3949,22 +3949,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18722, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18726, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18730, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18734, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3980,22 +3980,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18660, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18664, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18668, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18672, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4020,22 +4020,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18723, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18727, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18731, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18735, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4051,22 +4051,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18661, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18665, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18669, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18673, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4087,22 +4087,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18724, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18728, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18732, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18736, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4118,22 +4118,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18662, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18666, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18670, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18674, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4154,22 +4154,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18725, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18729, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18733, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18737, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4185,22 +4185,22 @@ static void giga_rc_track_flat_to_60_deg_up_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18663, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18667, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18671, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18675, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4238,21 +4238,21 @@ static void giga_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18676, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18680, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18684, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18688, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4273,19 +4273,19 @@ static void giga_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18677, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18681, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18685, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18689, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4302,19 +4302,19 @@ static void giga_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18678, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18682, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18686, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18690, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4331,19 +4331,19 @@ static void giga_rc_track_60_deg_up_to_flat_long_base( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18679, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18683, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18687, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18691, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4395,19 +4395,19 @@ static void giga_rc_track_cable_lift_hill( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18698, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18699, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18700, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18701, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4432,19 +4432,19 @@ static void giga_rc_track_cable_lift_hill( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18700, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18701, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18698, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18699, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4469,24 +4469,24 @@ static void giga_rc_track_cable_lift_hill( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18714, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18717, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18715, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18712, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18713, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18716, 0, 0, 32, 1, 66, height, 0, 27, height); break; @@ -4512,20 +4512,20 @@ static void giga_rc_track_cable_lift_hill( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18720, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18721, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18718, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18719, 0, 0, 32, 1, 98, height, 0, 27, height); break; @@ -4561,19 +4561,19 @@ static void giga_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18414, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18418, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18422, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18426, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4590,20 +4590,20 @@ static void giga_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18415, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18419, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18423, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18427, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4619,22 +4619,22 @@ static void giga_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18416, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18420, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18424, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18428, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4652,27 +4652,27 @@ static void giga_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18417, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18421, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18425, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18429, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4700,19 +4700,19 @@ static void giga_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18398, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18402, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18406, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18410, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4729,21 +4729,21 @@ static void giga_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18399, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18403, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18407, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18411, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4758,20 +4758,20 @@ static void giga_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18400, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18404, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18408, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18412, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4790,27 +4790,27 @@ static void giga_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18401, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18405, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18409, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18413, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -4856,21 +4856,21 @@ static void giga_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18446, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18450, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18454, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18458, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4887,21 +4887,21 @@ static void giga_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18447, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18451, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18455, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18459, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4917,22 +4917,22 @@ static void giga_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18448, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18452, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18456, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18460, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4950,27 +4950,27 @@ static void giga_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18449, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18453, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18457, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18461, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4998,20 +4998,20 @@ static void giga_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18430, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18434, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18438, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18442, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5029,22 +5029,22 @@ static void giga_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18431, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18435, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18439, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18443, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -5059,21 +5059,21 @@ static void giga_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18432, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18436, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18440, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18444, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5092,27 +5092,27 @@ static void giga_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18433, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18437, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18441, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18445, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -5160,7 +5160,7 @@ static void giga_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18527, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5171,7 +5171,7 @@ static void giga_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18465, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5187,7 +5187,7 @@ static void giga_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18524, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5198,7 +5198,7 @@ static void giga_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18462, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5214,7 +5214,7 @@ static void giga_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18526, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5225,7 +5225,7 @@ static void giga_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18464, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5245,7 +5245,7 @@ static void giga_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18525, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5270,7 +5270,7 @@ static void giga_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18463, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5306,7 +5306,7 @@ static void giga_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18539, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5317,7 +5317,7 @@ static void giga_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18477, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5333,7 +5333,7 @@ static void giga_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18536, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5344,7 +5344,7 @@ static void giga_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18474, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5360,7 +5360,7 @@ static void giga_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18538, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5371,7 +5371,7 @@ static void giga_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18476, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5391,7 +5391,7 @@ static void giga_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18537, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5416,7 +5416,7 @@ static void giga_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18475, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5450,7 +5450,7 @@ static void giga_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18489, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5463,7 +5463,7 @@ static void giga_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18486, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5476,7 +5476,7 @@ static void giga_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18488, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5493,7 +5493,7 @@ static void giga_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18487, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5528,7 +5528,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18531, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5539,7 +5539,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18469, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5555,7 +5555,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18528, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5566,7 +5566,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18466, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5582,7 +5582,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18530, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5593,7 +5593,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18468, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5613,7 +5613,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18529, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5638,7 +5638,7 @@ static void giga_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18467, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5672,7 +5672,7 @@ static void giga_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18481, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5685,7 +5685,7 @@ static void giga_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18478, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5698,7 +5698,7 @@ static void giga_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18480, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5715,7 +5715,7 @@ static void giga_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18479, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5748,7 +5748,7 @@ static void giga_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18485, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5761,7 +5761,7 @@ static void giga_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18482, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5774,7 +5774,7 @@ static void giga_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18484, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5791,7 +5791,7 @@ static void giga_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18483, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -5826,7 +5826,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18535, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5837,7 +5837,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18473, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5853,7 +5853,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18532, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5864,7 +5864,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18470, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5880,7 +5880,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18534, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5891,7 +5891,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18472, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5911,7 +5911,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18533, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5936,7 +5936,7 @@ static void giga_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18471, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5972,7 +5972,7 @@ static void giga_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18537, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5983,7 +5983,7 @@ static void giga_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18475, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5999,7 +5999,7 @@ static void giga_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18538, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6010,7 +6010,7 @@ static void giga_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18476, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6026,7 +6026,7 @@ static void giga_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18536, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6037,7 +6037,7 @@ static void giga_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18474, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6057,7 +6057,7 @@ static void giga_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18539, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6082,7 +6082,7 @@ static void giga_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18477, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6116,7 +6116,7 @@ static void giga_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18487, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6129,7 +6129,7 @@ static void giga_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18488, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6142,7 +6142,7 @@ static void giga_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18486, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6159,7 +6159,7 @@ static void giga_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18489, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6194,7 +6194,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18533, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6205,7 +6205,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18471, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6220,7 +6220,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18534, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6231,7 +6231,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18472, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6246,7 +6246,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18532, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6257,7 +6257,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18470, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6276,7 +6276,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18535, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6301,7 +6301,7 @@ static void giga_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18473, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6336,7 +6336,7 @@ static void giga_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18483, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6349,7 +6349,7 @@ static void giga_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18484, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6362,7 +6362,7 @@ static void giga_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18482, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6379,7 +6379,7 @@ static void giga_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18485, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6412,7 +6412,7 @@ static void giga_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18479, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6425,7 +6425,7 @@ static void giga_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18480, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6438,7 +6438,7 @@ static void giga_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18478, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6455,7 +6455,7 @@ static void giga_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18481, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6490,7 +6490,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18529, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6501,7 +6501,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18467, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6517,7 +6517,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18530, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6528,7 +6528,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18468, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6544,7 +6544,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18528, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6555,7 +6555,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18466, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6575,7 +6575,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18531, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6600,7 +6600,7 @@ static void giga_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18469, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6634,7 +6634,7 @@ static void giga_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18497, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6647,10 +6647,10 @@ static void giga_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18494, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18498, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6663,7 +6663,7 @@ static void giga_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18496, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6680,7 +6680,7 @@ static void giga_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18495, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6713,7 +6713,7 @@ static void giga_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18502, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6726,7 +6726,7 @@ static void giga_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18499, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6739,10 +6739,10 @@ static void giga_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18501, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18503, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6759,7 +6759,7 @@ static void giga_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18500, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6792,7 +6792,7 @@ static void giga_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18500, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6805,10 +6805,10 @@ static void giga_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18501, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18503, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6821,7 +6821,7 @@ static void giga_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18499, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6838,7 +6838,7 @@ static void giga_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18502, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6871,7 +6871,7 @@ static void giga_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18495, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6884,7 +6884,7 @@ static void giga_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18496, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6897,10 +6897,10 @@ static void giga_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18494, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18498, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6917,7 +6917,7 @@ static void giga_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18497, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6950,7 +6950,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18517, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6963,10 +6963,10 @@ static void giga_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18514, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18518, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -6979,7 +6979,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18516, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6996,7 +6996,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18515, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7029,7 +7029,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18522, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7042,7 +7042,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18519, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7055,10 +7055,10 @@ static void giga_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18521, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18523, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7075,7 +7075,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18520, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7108,7 +7108,7 @@ static void giga_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18507, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7121,10 +7121,10 @@ static void giga_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18504, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18508, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7137,7 +7137,7 @@ static void giga_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18506, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7154,7 +7154,7 @@ static void giga_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18505, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7187,7 +7187,7 @@ static void giga_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18512, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7200,7 +7200,7 @@ static void giga_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18509, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7213,10 +7213,10 @@ static void giga_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18511, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18513, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7233,7 +7233,7 @@ static void giga_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18510, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7266,7 +7266,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18510, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7278,10 +7278,10 @@ static void giga_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18511, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18513, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7293,7 +7293,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18509, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7309,7 +7309,7 @@ static void giga_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18512, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7343,7 +7343,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18505, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7355,7 +7355,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18506, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7367,10 +7367,10 @@ static void giga_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18504, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18508, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7386,7 +7386,7 @@ static void giga_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18507, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7420,7 +7420,7 @@ static void giga_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18520, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7433,10 +7433,10 @@ static void giga_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18521, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18523, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7449,7 +7449,7 @@ static void giga_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18519, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7466,7 +7466,7 @@ static void giga_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18522, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7499,7 +7499,7 @@ static void giga_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18515, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7512,7 +7512,7 @@ static void giga_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18516, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7525,10 +7525,10 @@ static void giga_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18514, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18518, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7545,7 +7545,7 @@ static void giga_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18517, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7578,7 +7578,7 @@ static void giga_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18493, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7591,7 +7591,7 @@ static void giga_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18490, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7604,7 +7604,7 @@ static void giga_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18492, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7621,7 +7621,7 @@ static void giga_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18491, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7654,7 +7654,7 @@ static void giga_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18491, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7667,7 +7667,7 @@ static void giga_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18492, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7680,7 +7680,7 @@ static void giga_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18490, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7697,7 +7697,7 @@ static void giga_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18493, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7728,16 +7728,16 @@ static void giga_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18076, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18080, 0, 0, 32, 1, 11, height, 0, 27, height + 5); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18077, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18081, 0, 0, 32, 1, 11, height, 0, 27, height + 5); break; } @@ -7766,7 +7766,7 @@ static void giga_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18655, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18657, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -7802,12 +7802,12 @@ static void giga_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18654, 6, 0, 20, 32, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18656, 6, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18658, 6, 0, 1, 32, 34, height, 27, 0, height); break; @@ -7852,7 +7852,7 @@ static void giga_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18646, 0, 6, 32, 20, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18648, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -7886,14 +7886,14 @@ static void giga_rc_track_right_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_TUBES, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18647, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18649, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( @@ -7953,20 +7953,20 @@ static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18624, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18629, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18634, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18639, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -7990,17 +7990,17 @@ static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18625, 0, 0, 32, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18630, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18635, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18640, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -8016,17 +8016,17 @@ static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18626, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18631, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18636, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -8046,22 +8046,22 @@ static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18627, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18632, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18637, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18642, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -8077,21 +8077,21 @@ static void giga_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18628, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18633, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18638, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18643, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -8123,20 +8123,20 @@ static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18604, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18609, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18614, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18619, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8156,17 +8156,17 @@ static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18605, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18610, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18615, 0, 0, 1, 1, 34, height, 30, 30, height); break; @@ -8190,17 +8190,17 @@ static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18606, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18611, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18616, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18621, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -8216,22 +8216,22 @@ static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18607, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18612, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18617, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18622, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -8247,21 +8247,21 @@ static void giga_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18608, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18613, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18618, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18623, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -8310,21 +8310,21 @@ static void giga_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18568, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18569, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18576, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18570, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18571, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8353,21 +8353,21 @@ static void giga_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18572, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18573, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18574, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18577, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18575, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8396,21 +8396,21 @@ static void giga_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18578, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18579, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18586, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18580, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18581, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8439,21 +8439,21 @@ static void giga_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18582, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18583, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18584, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18587, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18585, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8518,19 +8518,19 @@ static void giga_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18588, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18589, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18590, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18591, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8559,19 +8559,19 @@ static void giga_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18592, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18593, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18594, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18595, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8600,19 +8600,19 @@ static void giga_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18596, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18597, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18598, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18599, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8641,19 +8641,19 @@ static void giga_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18600, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18601, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18602, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18603, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8718,21 +8718,21 @@ static void giga_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18540, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18541, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18548, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18542, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18543, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8761,21 +8761,21 @@ static void giga_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18544, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18545, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18546, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18549, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18547, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8804,21 +8804,21 @@ static void giga_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18550, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18551, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18558, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18552, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18553, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8847,21 +8847,21 @@ static void giga_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18554, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18555, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18556, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18559, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18557, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8928,13 +8928,13 @@ static void giga_rc_track_booster( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_G2_GIGA_RC_BOOSTER_NE_SW, ne_sw_offsetX, ne_sw_offsetY, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_G2_GIGA_RC_BOOSTER_NW_SE, nw_se_offsetX, nw_se_offsetY, 32, 20, 3, height, 0, 6, height); break; diff --git a/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp b/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp index 2df66335f2..9f506a989e 100644 --- a/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp +++ b/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp @@ -29,30 +29,30 @@ static void heartline_twister_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21354, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21356, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21355, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21357, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21358, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21360, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21359, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21361, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -64,17 +64,17 @@ static void heartline_twister_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21294, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21296, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21295, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21297, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -96,7 +96,7 @@ static void heartline_twister_rc_track_station( { 19733, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); sub_98196C_rotated( @@ -118,30 +118,30 @@ static void heartline_twister_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21378, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21382, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21379, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21383, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21380, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21384, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21381, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21385, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -152,30 +152,30 @@ static void heartline_twister_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21322, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21326, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21323, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21327, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21324, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21328, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21325, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21329, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -203,30 +203,30 @@ static void heartline_twister_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21402, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21406, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 21, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21403, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21407, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 22, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21404, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21408, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 23, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21405, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21409, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 24, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -237,30 +237,30 @@ static void heartline_twister_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21346, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21350, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 21, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21347, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21351, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 22, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21348, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21352, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 23, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21349, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21353, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 24, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -288,30 +288,30 @@ static void heartline_twister_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21362, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21366, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21363, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21367, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21364, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21368, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21365, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21369, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -322,30 +322,30 @@ static void heartline_twister_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -373,30 +373,30 @@ static void heartline_twister_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21386, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21390, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 13, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21387, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21391, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 14, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21388, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21392, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 15, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21389, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21393, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 16, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -407,30 +407,30 @@ static void heartline_twister_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21330, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21334, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 13, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21331, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21335, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 14, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21332, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21336, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 15, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21333, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21337, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 16, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -458,30 +458,30 @@ static void heartline_twister_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21394, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21398, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 17, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21395, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21399, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 18, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21396, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21400, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 19, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21397, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21401, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 20, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -492,30 +492,30 @@ static void heartline_twister_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21338, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21342, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 17, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21339, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21343, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 18, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21340, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21344, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 19, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21341, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21345, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 20, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -543,30 +543,30 @@ static void heartline_twister_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21370, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21374, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21371, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21375, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21372, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21376, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21373, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21377, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -577,30 +577,30 @@ static void heartline_twister_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21314, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21318, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21315, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21319, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21316, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21320, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21317, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21321, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -679,33 +679,33 @@ static void heartline_twister_rc_track_heartline_transfer_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -726,61 +726,61 @@ static void heartline_twister_rc_track_heartline_transfer_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21314, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21318, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 6, 5, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21315, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21319, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 7, 6, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21316, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21320, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 6, 7, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21317, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21321, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 7, 8, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -793,33 +793,33 @@ static void heartline_twister_rc_track_heartline_transfer_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21298, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21302, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21299, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21303, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21300, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21304, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21301, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21305, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -832,34 +832,34 @@ static void heartline_twister_rc_track_heartline_transfer_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21316, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21320, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21317, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21321, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21314, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21318, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21315, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21319, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; @@ -889,34 +889,34 @@ static void heartline_twister_rc_track_heartline_transfer_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21316, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21320, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21317, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21321, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21314, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21318, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21315, 0, 0, 32, 20, 2, height - 8, 0, 6, height - 7); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21319, 0, 0, 32, 1, 34, height - 8, 0, 27, height - 8); break; @@ -936,61 +936,61 @@ static void heartline_twister_rc_track_heartline_transfer_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21314, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21318, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 6, 5, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21315, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21319, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 7, 6, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21316, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21320, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 6, 7, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21317, 0, 0, 32, 20, 2, height + 8, 0, 6, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height + 16, 0, 6, height + 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21321, 0, 0, 32, 1, 34, height + 8, 0, 27, height + 8); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 1, 34, height + 16, 0, 27, height + 16); wooden_a_supports_paint_setup(session, 7, 8, height + 8, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1003,33 +1003,33 @@ static void heartline_twister_rc_track_heartline_transfer_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21298, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21302, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21299, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21303, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21300, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21304, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21301, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21305, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1042,33 +1042,33 @@ static void heartline_twister_rc_track_heartline_transfer_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 20, 0, height, 0, 6, height + 23); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1099,33 +1099,33 @@ static void heartline_twister_rc_track_left_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21410, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21422, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21413, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21425, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21416, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21428, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21419, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21431, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1139,33 +1139,33 @@ static void heartline_twister_rc_track_left_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21411, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21423, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21414, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21426, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21417, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21429, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21420, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21432, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1178,33 +1178,33 @@ static void heartline_twister_rc_track_left_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21412, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21424, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21415, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21427, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21418, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21430, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21421, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21433, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1217,33 +1217,33 @@ static void heartline_twister_rc_track_left_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21418, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21430, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21421, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21433, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21412, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21424, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21415, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21427, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1256,33 +1256,33 @@ static void heartline_twister_rc_track_left_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21417, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21429, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21420, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21432, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21411, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21423, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21414, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21426, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1295,33 +1295,33 @@ static void heartline_twister_rc_track_left_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21416, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21428, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21419, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21431, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21410, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21422, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21413, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21425, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1345,33 +1345,33 @@ static void heartline_twister_rc_track_right_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21434, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21446, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21437, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21449, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21440, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21452, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21443, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21455, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1385,33 +1385,33 @@ static void heartline_twister_rc_track_right_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21435, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21447, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21438, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21450, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21441, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21453, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21444, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21456, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1424,33 +1424,33 @@ static void heartline_twister_rc_track_right_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21436, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21448, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21439, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21451, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21442, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21454, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21445, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21457, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1463,33 +1463,33 @@ static void heartline_twister_rc_track_right_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21442, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21454, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21445, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21457, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21436, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21448, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21439, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21451, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1502,33 +1502,33 @@ static void heartline_twister_rc_track_right_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21441, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21453, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21444, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21456, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21435, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21447, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21438, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21450, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1541,33 +1541,33 @@ static void heartline_twister_rc_track_right_heartline_roll( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21440, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21452, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21443, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21455, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21434, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21446, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21437, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21449, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); diff --git a/src/openrct2/ride/coaster/HybridCoaster.cpp b/src/openrct2/ride/coaster/HybridCoaster.cpp index b3fabe7e12..74f5c4438c 100644 --- a/src/openrct2/ride/coaster/HybridCoaster.cpp +++ b/src/openrct2/ride/coaster/HybridCoaster.cpp @@ -42,13 +42,13 @@ namespace HybridRC { if (tileElement->AsTrack()->HasChain()) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_FLAT + direction), 0, 0, 32, 20, 3, height, 0, 6, height); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT + (direction & 1)), 0, 0, 32, 20, 3, height, 0, 6, height); } @@ -71,13 +71,13 @@ namespace HybridRC if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | GetTrackColour(session), 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | GetTrackColour(session), 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -99,13 +99,13 @@ namespace HybridRC { if (tileElement->AsTrack()->HasChain()) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE + direction + 8), 0, 0, 32, 20, 2, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE + direction + 8), 0, 0, 32, 20, 2, height, 0, 6, height + 3); } @@ -154,7 +154,7 @@ namespace HybridRC }, }; - auto* ps = sub_98197C_rotated( + auto* ps = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | imageIds[tileElement->AsTrack()->HasChain() ? 0 : 1][direction], 0, 0, boundBoxLengths[direction].x, boundBoxLengths[direction].y, boundBoxLengths[direction].z, height, boundBoxOffsets[direction].x, boundBoxOffsets[direction].y, boundBoxOffsets[direction].z); @@ -184,13 +184,13 @@ namespace HybridRC { if (tileElement->AsTrack()->HasChain()) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE + direction), 0, 0, 32, 20, 3, height, 0, 6, height); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE + direction), 0, 0, 32, 20, 3, height, 0, 6, height); } @@ -217,28 +217,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 0), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 1), 0, 0, 32, 20, 3, height, 0, 3, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 2), 0, 0, 32, 2, 43, height, 0, 28, height); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 3), 0, 0, 32, 20, 3, height, 0, 3, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 4), 0, 0, 32, 2, 43, height, 0, 28, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 5), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -249,28 +249,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 0), 0, 0, 32, 20, 3, height, 0, 6, height + 2); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 1), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 2), 0, 0, 32, 2, 43, height, 0, 28, height); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 3), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 4), 0, 0, 32, 2, 43, height, 0, 28, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 5), 0, 0, 32, 20, 3, height, 0, 6, height + 2); break; @@ -299,28 +299,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 6), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 7), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 8), 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 9), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 10), 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP + 11), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -331,29 +331,29 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 6), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 7), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 8), 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 9), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 10), 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP + 11), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -379,13 +379,13 @@ namespace HybridRC { if (tileElement->AsTrack()->HasChain()) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE + direction + 4), 0, 0, 32, 20, 3, height, 0, 6, height); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE + direction + 4), 0, 0, 32, 20, 2, height, 0, 6, height + 3); } @@ -470,7 +470,7 @@ namespace HybridRC switch (trackSequence) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | imageIds[direction], 0, 0, boundBoxLengths[direction].x, boundBoxLengths[direction].y, boundBoxLengths[direction].z, height, boundBoxOffsets[direction].x, boundBoxOffsets[direction].y, boundBoxOffsets[direction].z); @@ -516,7 +516,7 @@ namespace HybridRC switch (trackSequence) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | imageIds[direction], 0, 0, boundBoxLengths[direction].x, boundBoxLengths[direction].y, boundBoxLengths[direction].z, height, boundBoxOffsets[direction].x, boundBoxOffsets[direction].y, boundBoxOffsets[direction].z); @@ -565,7 +565,7 @@ namespace HybridRC SPR_G2_HYBRID_TRACK_VERTICAL + 7, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | imageIds[direction], 0, 0, boundBoxLengths[direction].x, boundBoxLengths[direction].y, boundBoxLengths[direction].z, height, boundBoxOffsets[direction].x, boundBoxOffsets[direction].y, boundBoxOffsets[direction].z); @@ -592,22 +592,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL + 6), 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL + 7), 0, 0, 32, 20, 3, height, 0, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL + 4), 0, 0, 32, 20, 3, height, 0, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL + 5), 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; @@ -634,25 +634,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 3), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 6), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 9), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -672,25 +672,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 1), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 4), 0, 0, 16, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 7), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 10), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -705,25 +705,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 2), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 5), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 8), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE + 11), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -762,25 +762,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 5), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 10), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 15), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -802,25 +802,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 1), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 6), 0, 0, 36, 16, 3, height, 0, 4, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 11), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 16), 0, 0, 32, 14, 3, height, 0, 18, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -837,25 +837,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 2), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 7), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 12), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 17), 0, 0, 33, 33, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -878,25 +878,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 3), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 8), 0, 0, 16, 36, 3, height, 4, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 13), 0, 0, 16, 32, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 18), 0, 0, 14, 32, 3, height, 18, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -913,25 +913,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 4), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 9), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 14), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE + 19), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -970,25 +970,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 4), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 8), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 12), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1005,25 +1005,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 1), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 5), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 9), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 13), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1036,25 +1036,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 2), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 6), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 10), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 14), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1086,22 +1086,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 3), 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 7), 0, 0, 16, 18, 3, height, 0, 16 + 8, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 11), 0, 0, 16, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 15), 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1122,25 +1122,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 16), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 20), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 24), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 28), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1157,25 +1157,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 17), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 21), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 25), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 29), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1188,25 +1188,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 18), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 22), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 26), 0, 0, 28, 28, 3, height, 4, 4, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 30), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1238,22 +1238,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 19), 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 23), 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 27), 0, 0, 16, 18, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE + 31), 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -1292,7 +1292,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_FLAT_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1303,7 +1303,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1320,7 +1320,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_FLAT_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); wooden_a_supports_paint_setup( @@ -1333,7 +1333,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1363,7 +1363,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_FLAT_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1374,7 +1374,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1404,7 +1404,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_FLAT_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1415,7 +1415,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1439,7 +1439,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1450,7 +1450,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1465,7 +1465,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1476,7 +1476,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1510,7 +1510,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1521,7 +1521,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1555,7 +1555,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1566,7 +1566,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1590,7 +1590,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1601,7 +1601,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1616,7 +1616,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1627,7 +1627,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1661,7 +1661,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1672,7 +1672,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1706,7 +1706,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 5), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1717,7 +1717,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 5), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1741,7 +1741,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1752,7 +1752,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1767,7 +1767,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1778,7 +1778,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1808,7 +1808,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1819,7 +1819,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1849,7 +1849,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1860,7 +1860,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1884,7 +1884,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1895,7 +1895,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1910,7 +1910,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1921,7 +1921,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1955,7 +1955,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1966,7 +1966,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2000,7 +2000,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2011,7 +2011,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2035,7 +2035,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 5), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2046,7 +2046,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 5), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2060,7 +2060,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2071,7 +2071,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2104,7 +2104,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2115,7 +2115,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2148,7 +2148,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2159,7 +2159,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2184,7 +2184,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2195,7 +2195,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2210,7 +2210,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2221,7 +2221,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2251,7 +2251,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2262,7 +2262,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2292,7 +2292,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_GENTLE_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2303,7 +2303,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2327,7 +2327,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2338,7 +2338,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2353,7 +2353,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2364,7 +2364,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2398,7 +2398,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2409,7 +2409,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2443,7 +2443,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2454,7 +2454,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2478,7 +2478,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2489,7 +2489,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2504,7 +2504,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2515,7 +2515,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2549,7 +2549,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2560,7 +2560,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2594,7 +2594,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2605,7 +2605,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2629,7 +2629,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2640,7 +2640,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2655,7 +2655,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2666,7 +2666,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2700,7 +2700,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2711,7 +2711,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2745,7 +2745,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 5), -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -2756,7 +2756,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 5), -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -2780,7 +2780,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2791,7 +2791,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2806,7 +2806,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2817,7 +2817,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2851,7 +2851,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2862,7 +2862,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 8), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2896,7 +2896,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2907,7 +2907,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 11), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2931,7 +2931,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 5), -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -2942,7 +2942,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 5), -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -2957,7 +2957,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2968,7 +2968,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3002,7 +3002,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3013,7 +3013,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3047,7 +3047,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3058,7 +3058,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3082,7 +3082,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3093,7 +3093,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 1), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3108,7 +3108,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3119,7 +3119,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3153,7 +3153,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3164,7 +3164,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3198,7 +3198,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_LIFT_TRACK_STEEP_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3209,7 +3209,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3228,28 +3228,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 1), 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 2), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 3), 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 4), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 5), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3267,28 +3267,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 6), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 7), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 8), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 9), 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 10), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 11), 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3320,28 +3320,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 12), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 13), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 14), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 15), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 16), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 17), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3367,28 +3367,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 18), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 19), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 20), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 21), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 22), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 23), 0, 0, 32, 1, 34, height, 0, 27, height); break; @@ -3414,28 +3414,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 24), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 25), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 26), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 27), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 28), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 29), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -3461,28 +3461,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 30), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 31), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 32), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 33), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 34), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 35), 0, 0, 32, 1, 34, height, 0, 27, height); break; @@ -3536,28 +3536,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 36), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 37), 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 38), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 39), 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 40), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION + 41), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3585,7 +3585,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3597,10 +3597,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 1), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -3627,7 +3627,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3654,7 +3654,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3675,7 +3675,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3687,7 +3687,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 5), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3714,10 +3714,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 8), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -3744,7 +3744,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3765,7 +3765,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 6), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3777,10 +3777,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 7), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 8), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -3807,7 +3807,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 5), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3834,7 +3834,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 9), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3855,7 +3855,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 2), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3867,7 +3867,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 3), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3894,10 +3894,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 0), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 1), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -3924,7 +3924,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 4), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3945,7 +3945,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 14), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3957,10 +3957,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 11), -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -3987,7 +3987,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 13), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4014,7 +4014,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 12), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4035,7 +4035,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 19), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4047,7 +4047,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 15), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4074,10 +4074,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 17), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 18), -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -4104,7 +4104,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 16), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4125,7 +4125,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 24), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4137,10 +4137,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 20), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 21), -16, -16, 32, 32, 0, height, -16, -16, height + 36); break; @@ -4171,7 +4171,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 23), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4202,7 +4202,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 22), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4223,7 +4223,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 29), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4235,7 +4235,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 25), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4266,10 +4266,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 27), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 28), -16, -16, 32, 32, 0, height, -16, -16, height + 36); break; @@ -4300,7 +4300,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 26), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4321,7 +4321,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 26), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4332,10 +4332,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 27), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 28), -16, -16, 32, 32, 0, height, -16, -16, height + 36); break; @@ -4365,7 +4365,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 25), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4395,7 +4395,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 29), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4417,7 +4417,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 22), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4428,7 +4428,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 23), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4458,10 +4458,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 20), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 21), -16, -16, 32, 32, 0, height, -16, -16, height + 36); break; @@ -4491,7 +4491,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 24), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4513,7 +4513,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 16), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4525,10 +4525,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 17), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 18), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -4555,7 +4555,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 15), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4582,7 +4582,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 19), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4603,7 +4603,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 12), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4615,7 +4615,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 13), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4642,10 +4642,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 10), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 11), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -4672,7 +4672,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 14), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4693,7 +4693,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 34), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4705,10 +4705,10 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 30), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 31), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -4735,7 +4735,7 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 33), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4762,7 +4762,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 32), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4783,7 +4783,7 @@ namespace HybridRC switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 32), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4795,7 +4795,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 33), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4822,10 +4822,10 @@ namespace HybridRC switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 30), -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 31), -16, -16, 32, 32, 0, height, -16, -16, height + 28); break; @@ -4852,7 +4852,7 @@ namespace HybridRC switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BANK_TRANSITION_DIAGONAL + 34), -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4873,31 +4873,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 1), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 4), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 5), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 9), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 13), 0, 0, 26, 32, 3, height, 6, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4917,25 +4917,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 2), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 6), 0, 0, 16, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 10), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 14), 0, 0, 22, 22, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4950,31 +4950,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 3), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 7), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 8), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 11), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 12), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_CURVE_BANKED + 15), 0, 0, 32, 26, 3, height, 6, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5013,31 +5013,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 1), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 6), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 7), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 14), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 20), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5059,25 +5059,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 2), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 8), 0, 0, 48, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 15), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 21), 0, 0, 32, 14, 3, height, 0, 18, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5094,28 +5094,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 3), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 9), 0, 0, 38, 38, 3, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 10), 0, 0, 16, 16, 1, height, 16, 16, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 16), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 22), 0, 0, 38, 38, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5138,25 +5138,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 4), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 11), 0, 0, 16, 48, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 17), 0, 0, 16, 32, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 23), 0, 0, 14, 32, 3, height, 18, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5173,31 +5173,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 5), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 12), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 13), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 18), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 19), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_MEDIUM_CURVE_BANKED + 24), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5236,31 +5236,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 1), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 5), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 6), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 12), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 16), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5277,28 +5277,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 2), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 7), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 8), 0, 0, 34, 16, 0, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 13), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 17), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5311,25 +5311,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 3), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 9), 0, 0, 16, 16, 0, height, 16, 16, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 14), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 18), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5361,25 +5361,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 4), 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 10), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 11), 0, 0, 16, 18, 0, height, 0, 16, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 15), 0, 0, 16, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 19), 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -5400,31 +5400,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 20), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 24), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 28), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 29), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 35), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 36), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5441,28 +5441,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 21), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 25), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 30), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 31), 0, 0, 34, 16, 0, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 37), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5475,25 +5475,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 22), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 26), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 32), 0, 0, 28, 28, 0, height, 4, 4, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 38), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5525,26 +5525,26 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 23), 0, 0, 16, 16, 3, height, 16, 0, // TODO height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 27), 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 33), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 34), 0, 0, 16, 18, 0, height, 0, 16, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_CURVE_BANKED + 39), 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -5813,25 +5813,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 5), 0, 0, 34, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 10), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 15), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5865,13 +5865,13 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 11), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 16), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5888,19 +5888,19 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 2), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 7), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 12), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5929,7 +5929,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 3), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5947,7 +5947,7 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 18), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5964,25 +5964,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 4), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 9), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 14), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 19), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6013,25 +6013,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 20), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 25), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 30), 0, 0, 34, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 35), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6053,13 +6053,13 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 21), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 26), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6094,19 +6094,19 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 27), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 32), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 37), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6129,7 +6129,7 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 23), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6147,7 +6147,7 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 38), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6164,25 +6164,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 24), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 29), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 34), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE + 39), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6226,37 +6226,37 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 0), 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 1), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 2), 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 3), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 4), 0, 0, 28, 3, 48, height, 2, 28, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 5), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 6), 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 7), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6274,37 +6274,37 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 8), 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 9), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 10), 0, 0, 28, 3, 48, height, 2, 28, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 11), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 12), 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 13), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 14), 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_STEEP_SMALL_CURVE + 15), 0, 0, 28, 28, 1, height, 2, 2, height + 99); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6340,28 +6340,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 0), 0, 0, 2, 20, 63, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 1), 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 2), 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 3), 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 4), 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 5), 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; @@ -6385,28 +6385,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 6), 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 7), 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 8), 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 9), 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 10), 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_VERTICAL_TWIST + 11), 0, 0, 2, 20, 63, height, 4, 6, height + 8); break; @@ -6441,25 +6441,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 0), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 1), 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 2), 0, 0, 32, 1, 34, height, 0, 27, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 3), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 4), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6485,25 +6485,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 5), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 6), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 7), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 8), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 9), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6529,25 +6529,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 10), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 11), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 12), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 13), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 14), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6573,25 +6573,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 15), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 16), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 17), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 18), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 19), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6645,28 +6645,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 20), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 21), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 22), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 23), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 24), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 25), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -6692,28 +6692,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 26), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 27), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 28), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 29), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 30), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 31), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -6739,28 +6739,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 32), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 33), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 34), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 35), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 36), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 37), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6786,28 +6786,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 38), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 39), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 40), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 41), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 42), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 43), 0, 0, 32, 1, 34, height, 0, 27, height); break; @@ -6861,22 +6861,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 44), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 45), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 46), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 47), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6902,22 +6902,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 48), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 49), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 50), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 51), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -6957,25 +6957,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 52), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 53), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 54), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 55), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 56), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7001,25 +7001,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 57), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 58), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 59), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 60), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 61), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7045,25 +7045,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 62), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 63), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 64), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 65), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 66), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -7089,25 +7089,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 67), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 68), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 69), 0, 0, 32, 20, 2, height, 0, 6, height + 3); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 70), 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SLOPE_BANK_TRANSITION + 71), 0, 0, 32, 20, 2, height, 0, 6, height + 3); break; @@ -7173,7 +7173,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 2), 0, 6, 32, 20, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 3), 0, 6, 34, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7235,7 +7235,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 4), 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 5), 6, 0, 1, 34, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7244,7 +7244,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 7), 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 8), 6, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7296,7 +7296,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 16), 0, 6, 32, 20, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 17), 0, 6, 34, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7352,7 +7352,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 14), 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 15), 6, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7361,7 +7361,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 18), 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_SMALL_CURVE_BANKED + 19), 6, 0, 1, 34, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7414,28 +7414,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 5), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 6), 0, 0, 34, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 15), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 21), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7466,19 +7466,19 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 7), 0, 0, 32, 16, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 8), 0, 0, 1, 1, 34, height, 30, 30, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 16), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 22), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7495,22 +7495,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 2), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 9), 0, 0, 16, 16, 3, height, 0, -8, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 10), 0, 0, 1, 1, 34, height, 30, 30, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 17), 0, 0, 1, 1, 3, height, 64, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7539,28 +7539,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 3), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 11), 0, 0, 16, 32, 3, height, -8, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 12), 0, 0, 1, 1, 34, height, 30, 30, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 18), 0, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 24), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7577,31 +7577,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 4), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 13), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 14), 0, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 19), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 20), 0, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 25), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7632,28 +7632,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 26), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 31), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 37), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 38), 0, 0, 34, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 47), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7675,22 +7675,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 27), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 32), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 39), 0, 0, 32, 16, 3, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 40), 0, 0, 1, 1, 34, height, 30, 30, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7719,22 +7719,22 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 33), 0, 0, 1, 1, 3, height, 64, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 41), 0, 0, 16, 16, 3, height, -8, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 42), 0, 0, 1, 1, 34, height, 30, 30, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 49), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7757,28 +7757,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 29), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 34), 0, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 43), 0, 0, 16, 32, 3, height, -8, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 44), 0, 0, 1, 1, 34, height, 30, 30, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 50), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7795,31 +7795,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 30), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 35), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 36), 0, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 45), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 46), 0, 0, 1, 32, 34, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 51), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7866,25 +7866,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 4), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 3), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 7), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7913,13 +7913,13 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 2), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 6), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7936,13 +7936,13 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 2), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 6), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7971,25 +7971,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 3), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 7), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 0), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 4), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8020,25 +8020,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 8), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 12), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 11), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 15), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8055,13 +8055,13 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 9), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 13), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8102,13 +8102,13 @@ namespace HybridRC wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 9), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 13), 0, 0, 32, 26, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8125,25 +8125,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 11), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 15), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 8), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_S_BEND + 12), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8174,31 +8174,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 1), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 4), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 5), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 9), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 13), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8233,25 +8233,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 2), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 6), 0, 0, 16, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 10), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 14), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8266,31 +8266,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 3), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 7), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 8), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 11), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 12), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 15), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8312,31 +8312,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 13), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 0), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 1), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 4), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 5), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 9), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8376,25 +8376,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 14), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 2), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 6), 0, 0, 16, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 10), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8409,31 +8409,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 15), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 3), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 7), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 8), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 11), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 12), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8459,31 +8459,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 16), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 19), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 23), 0, 0, 34, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 24), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 28), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 29), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8518,25 +8518,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 17), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 20), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 25), 0, 0, 16, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 30), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8551,31 +8551,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 18), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 21), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 22), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 26), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 27), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 31), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8597,31 +8597,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 19), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 23), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 24), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 28), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 29), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 16), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8661,25 +8661,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 20), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 25), 0, 0, 16, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 30), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 17), 0, 0, 16, 16, 3, height, 16, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8694,31 +8694,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 21), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 22), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 26), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 27), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 31), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 18), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8770,31 +8770,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 1), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 6), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 7), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 14), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 20), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8816,25 +8816,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 2), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 8), 0, 0, 33, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 15), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 21), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8851,28 +8851,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 3), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 9), 0, 0, 16, 16, 3, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 10), 0, 0, 16, 16, 1, height, 16, 16, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 16), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 22), 0, 0, 34, 34, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8895,25 +8895,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 4), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 11), 0, 0, 16, 33, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 17), 0, 0, 16, 32, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 23), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8930,31 +8930,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 5), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 12), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 13), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 18), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 19), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 24), 0, 0, 28, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8976,31 +8976,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 20), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 0), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 1), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 6), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 7), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 14), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9027,25 +9027,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 21), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 2), 0, 0, 16, 32, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 8), 0, 0, 16, 32, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 15), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9062,28 +9062,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 22), 0, 0, 16, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 3), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 9), 0, 0, 16, 16, 3, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 10), 0, 0, 16, 16, 1, height, 16, 16, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 16), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9106,25 +9106,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 23), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 4), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 11), 0, 0, 32, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 17), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9141,31 +9141,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 24), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 5), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 12), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 13), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 18), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 19), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9191,31 +9191,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 25), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 30), 0, 0, 32, 32, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 36), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 37), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 44), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 45), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9237,25 +9237,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 26), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 31), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 38), 0, 0, 33, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 46), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9272,28 +9272,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 27), 0, 0, 34, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 32), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 39), 0, 0, 16, 32, 3, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 40), 0, 0, 16, 16, 1, height, 16, 16, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 47), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9316,25 +9316,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 28), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 33), 0, 0, 16, 32, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 41), 0, 0, 16, 33, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 48), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9351,31 +9351,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 29), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 34), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 35), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 42), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 43), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 49), 0, 0, 32, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9397,31 +9397,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 30), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 36), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 37), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 44), 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 45), 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 25), 0, 0, 20, 32, 3, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9448,25 +9448,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 31), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 38), 0, 0, 16, 32, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 46), 0, 0, 16, 32, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 26), 0, 0, 16, 32, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9483,28 +9483,28 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 32), 0, 0, 16, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 39), 0, 0, 16, 16, 3, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 40), 0, 0, 16, 16, 1, height, 16, 16, height + 28); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 47), 0, 0, 16, 16, 3, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 27), 0, 0, 16, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9527,25 +9527,25 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 33), 0, 0, 32, 16, 3, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 41), 0, 0, 32, 16, 1, height, 0, 0, height + 28); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 48), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 28), 0, 0, 32, 16, 3, height, 0, 16, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9562,31 +9562,31 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 34), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 35), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 42), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 43), 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 49), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 29), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9638,34 +9638,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 0), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 1), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 6), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 7), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 12), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 13), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 18), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 19), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; @@ -9683,34 +9683,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 2), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 3), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 8), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 9), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 14), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 15), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 20), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 21), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; @@ -9724,34 +9724,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 4), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 5), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 10), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 11), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 16), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 17), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 22), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 23), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; @@ -9783,34 +9783,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 24), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 25), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 30), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 31), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 36), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 37), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 42), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 43), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; @@ -9828,34 +9828,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 26), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 27), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 32), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 33), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 38), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 39), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 44), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 45), 0, 0, 32, 20, 0, height, 0, 6, height + 40); break; @@ -9869,34 +9869,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 28), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 29), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 34), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 35), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 40), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 41), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 46), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BARREL_ROLL + 47), 0, 0, 32, 20, 0, height, 0, 6, height + 56); break; @@ -9942,34 +9942,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 0), 0, 0, 2, 20, 31, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 1), 0, 0, 32, 1, 48, height, 0, 32, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 6), 0, 0, 2, 20, 31, height, 26, 4, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 7), 0, 0, 32, 1, 48, height, 0, 32, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 12), 0, 0, 2, 20, 31, height, 26, 4, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 13), 0, 0, 32, 1, 48, height, 0, 32, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 18), 0, 0, 2, 20, 31, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 19), 0, 0, 32, 1, 48, height, 0, 32, height + 8); break; @@ -9981,34 +9981,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 2), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 3), 0, 0, 32, 1, 64, height, 0, 32, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 8), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 9), 0, 0, 32, 1, 64, height, 0, 32, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 14), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 15), 0, 0, 32, 1, 64, height, 0, 32, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 20), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 21), 0, 0, 32, 1, 64, height, 0, 32, height); break; @@ -10022,34 +10022,34 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 4), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 5), 0, 0, 32, 1, 32, height, 0, 32, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 10), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 11), 0, 0, 32, 1, 32, height, 0, 32, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 16), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 17), 0, 0, 32, 1, 32, height, 0, 32, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 22), 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_QUARTER_LOOP + 23), 0, 0, 32, 1, 32, height, 0, 32, height); break; @@ -10077,7 +10077,7 @@ namespace HybridRC paint_session* session, uint16_t rideIndex, uint8_t trackSequence, uint8_t direction, int32_t height, const TileElement* tileElement) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BRAKE + (direction & 1)), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10091,7 +10091,7 @@ namespace HybridRC const TileElement* tileElement) { sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT + (direction & 1)), 0, 0, 32, 20, 0, height, 0, 6, height + 3); track_paint_util_onride_photo_paint(session, direction, height + 3, tileElement); @@ -10111,22 +10111,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 0), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 4), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 8), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 12), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10144,22 +10144,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 1), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 5), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 9), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 13), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10173,22 +10173,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 2), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 6), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 10), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 14), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10202,22 +10202,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 3), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 7), 0, 0, 2, 24, 56, height, 28, 4, height - 16); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 11), 0, 0, 2, 24, 56, height, 28, 4, height - 16); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 15), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10249,22 +10249,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 16), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 20), 0, 0, 2, 24, 56, height, 28, 4, height - 16); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 24), 0, 0, 2, 24, 56, height, 28, 4, height - 16); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 28), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10282,22 +10282,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 17), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 21), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 25), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 29), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10311,22 +10311,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 18), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 22), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 26), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 30), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10340,22 +10340,22 @@ namespace HybridRC switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 19), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 23), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 27), 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_FLAT_TO_STEEP + 31), 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -10395,7 +10395,7 @@ namespace HybridRC paint_session* session, uint16_t rideIndex, uint8_t trackSequence, uint8_t direction, int32_t height, const TileElement* tileElement) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BLOCK_BRAKE + (direction & 1)), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10408,7 +10408,7 @@ namespace HybridRC paint_session* session, uint16_t rideIndex, uint8_t trackSequence, uint8_t direction, int32_t height, const TileElement* tileElement) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_BOOSTER + (direction & 1)), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10421,7 +10421,7 @@ namespace HybridRC paint_session* session, ride_id_t rideIndex, uint8_t trackSequence, uint8_t direction, int32_t height, const TileElement* tileElement) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_POWERED_LIFT + direction), 0, 0, 32, 20, 3, height, 0, 6, height); wooden_a_supports_paint_setup( @@ -10457,7 +10457,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 2), 0, 6, 32, 20, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 3), 0, 6, 34, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10574,7 +10574,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 13), 0, 6, 32, 20, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 14), 0, 6, 34, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10738,7 +10738,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 13), 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 14), 6, 0, 1, 34, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10855,7 +10855,7 @@ namespace HybridRC sub_98196C_rotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 2), 6, 0, 20, 32, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_TURN_BANK_TRANSITION + 3), 6, 0, 1, 34, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); diff --git a/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp b/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp index d6817dc93f..09d2eb0e5a 100644 --- a/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp +++ b/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp @@ -29,22 +29,22 @@ static void inverted_hairpin_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17030, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17031, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17032, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17033, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -56,13 +56,13 @@ static void inverted_hairpin_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17026, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17027, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -93,12 +93,12 @@ static void inverted_hairpin_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 17029, SPR_STATION_INVERTED_BAR_0_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 6, height + 24); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11); @@ -118,22 +118,22 @@ static void inverted_hairpin_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17070, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17071, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17072, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17073, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -144,22 +144,22 @@ static void inverted_hairpin_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17042, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17043, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17044, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17045, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -212,22 +212,22 @@ static void inverted_hairpin_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17086, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17087, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17088, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17089, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; @@ -238,22 +238,22 @@ static void inverted_hairpin_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17058, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17059, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17060, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17061, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; @@ -282,22 +282,22 @@ static void inverted_hairpin_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17062, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17063, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17064, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17065, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -308,22 +308,22 @@ static void inverted_hairpin_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17034, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17035, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17036, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17037, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -376,28 +376,28 @@ static void inverted_hairpin_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17074, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17078, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17075, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17079, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17076, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17077, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -408,28 +408,28 @@ static void inverted_hairpin_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17046, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17050, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17047, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17051, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17048, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17049, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -458,28 +458,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17080, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17084, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17081, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17085, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17082, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17083, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -490,28 +490,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17052, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17056, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17053, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17057, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17054, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17055, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -564,22 +564,22 @@ static void inverted_hairpin_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17066, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17067, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17068, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17069, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -590,22 +590,22 @@ static void inverted_hairpin_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17038, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17039, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17040, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17041, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -709,22 +709,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17123, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17126, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17129, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17120, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -749,22 +749,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17122, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17125, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17128, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17119, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -777,22 +777,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17121, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17124, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17127, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17118, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -1029,22 +1029,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_1( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17114, 0, 0, 26, 24, 3, height + 24, 6, 2, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17115, 0, 0, 26, 26, 3, height + 24, 0, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17116, 0, 0, 24, 26, 3, height + 24, 2, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17117, 0, 0, 24, 24, 3, height + 24, 6, 6, height + 24); break; @@ -1089,28 +1089,28 @@ static void inverted_hairpin_rc_track_flat_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17102, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17106, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17103, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17107, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17104, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17105, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 56); break; @@ -1121,28 +1121,28 @@ static void inverted_hairpin_rc_track_flat_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17090, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17094, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17091, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17095, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17092, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17093, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 56); break; @@ -1171,28 +1171,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17108, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 48); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17112, 0, 0, 32, 10, 41, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17109, 0, 0, 32, 2, 41, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17113, 0, 0, 32, 10, 41, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17110, 0, 0, 32, 2, 41, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17111, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 48); break; @@ -1203,28 +1203,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17096, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 48); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17100, 0, 0, 32, 10, 41, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17097, 0, 0, 32, 2, 41, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17101, 0, 0, 32, 10, 41, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17098, 0, 0, 32, 2, 41, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17099, 0, 0, 30, 20, 3, height + 24, 0, 6, height + 48); break; @@ -1289,13 +1289,13 @@ static void inverted_hairpin_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17028, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17029, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -1322,13 +1322,13 @@ static void inverted_hairpin_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17028, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 17029, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; diff --git a/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp b/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp index 971aff27d5..02e5fcbfbd 100644 --- a/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp +++ b/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp @@ -28,13 +28,13 @@ static void inverted_impulse_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19662, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19663, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -64,12 +64,12 @@ static void inverted_impulse_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 19663, SPR_STATION_INVERTED_BAR_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, height + 29); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11); @@ -87,22 +87,22 @@ static void inverted_impulse_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19672, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19673, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19674, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19675, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -152,22 +152,22 @@ static void inverted_impulse_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19688, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19689, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19690, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19691, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; @@ -193,22 +193,22 @@ static void inverted_impulse_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19664, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19665, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19666, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19667, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -255,28 +255,28 @@ static void inverted_impulse_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19676, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19680, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19677, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19681, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19678, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19679, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -302,28 +302,28 @@ static void inverted_impulse_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19682, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19686, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19683, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19687, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19684, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19685, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -349,22 +349,22 @@ static void inverted_impulse_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19668, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19669, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19670, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19671, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -464,22 +464,22 @@ static void inverted_impulse_rc_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19700, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19701, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19702, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19703, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -513,22 +513,22 @@ static void inverted_impulse_rc_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19692, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19693, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19694, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19695, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; @@ -564,22 +564,22 @@ static void inverted_impulse_rc_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19696, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19697, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19698, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19699, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; @@ -609,22 +609,22 @@ static void inverted_impulse_rc_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19698, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19699, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19696, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 85); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19697, 0, 0, 32, 2, 55, height + 29, 0, 4, height + 11); break; @@ -653,31 +653,31 @@ static void inverted_impulse_rc_track_left_quarter_turn_1_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19708, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19709, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19717, 0, 0, 2, 32, 31, height + 29, 4, 0, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19710, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19718, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19711, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19719, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; @@ -703,31 +703,31 @@ static void inverted_impulse_rc_track_right_quarter_turn_1_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19704, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19712, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19705, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19713, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19706, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19714, 0, 0, 32, 2, 31, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19707, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 125); break; diff --git a/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp b/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp index 097546fbf6..c112082a90 100644 --- a/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp @@ -30,13 +30,13 @@ static void inverted_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27131, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27132, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -48,13 +48,13 @@ static void inverted_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27129, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27130, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -84,12 +84,12 @@ static void inverted_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 27132, SPR_STATION_INVERTED_BAR_C_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, height + 29); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3); @@ -109,22 +109,22 @@ static void inverted_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27249, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27250, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27251, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27252, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -135,22 +135,22 @@ static void inverted_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27221, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27222, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27223, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27224, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -201,22 +201,22 @@ static void inverted_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27237, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27238, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27239, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27240, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; @@ -244,22 +244,22 @@ static void inverted_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27241, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27242, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27243, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27244, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -270,22 +270,22 @@ static void inverted_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27213, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27214, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27215, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27216, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -336,28 +336,28 @@ static void inverted_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27225, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27229, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27226, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27230, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27227, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27228, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -383,28 +383,28 @@ static void inverted_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27231, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27235, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27232, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27236, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27233, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27234, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -456,22 +456,22 @@ static void inverted_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27245, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27246, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27247, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27248, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -482,22 +482,22 @@ static void inverted_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27217, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27218, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27219, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27220, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -599,22 +599,22 @@ static void inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27142, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27147, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27152, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27137, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -647,12 +647,12 @@ static void inverted_rc_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 27146, 0, 0, 32, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27151, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27136, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -668,17 +668,17 @@ static void inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27140, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27145, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27150, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -698,7 +698,7 @@ static void inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27139, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -711,7 +711,7 @@ static void inverted_rc_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 27149, 0, 0, 16, 32, 3, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27134, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -727,22 +727,22 @@ static void inverted_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27138, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27143, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27148, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27133, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -785,22 +785,22 @@ static void inverted_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27269, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27270, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27271, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27272, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -827,22 +827,22 @@ static void inverted_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27273, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27274, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27275, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27276, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -869,22 +869,22 @@ static void inverted_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27275, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27276, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27273, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27274, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -911,22 +911,22 @@ static void inverted_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27271, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27272, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27269, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27270, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -956,22 +956,22 @@ static void inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27162, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27167, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27172, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27157, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1004,12 +1004,12 @@ static void inverted_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 27166, 0, 0, 32, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27171, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27156, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -1025,17 +1025,17 @@ static void inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27160, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27165, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27170, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -1055,7 +1055,7 @@ static void inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27159, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -1068,7 +1068,7 @@ static void inverted_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 27169, 0, 0, 16, 32, 3, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27154, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -1084,22 +1084,22 @@ static void inverted_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27158, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27163, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27168, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27153, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -1142,22 +1142,22 @@ static void inverted_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27277, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27278, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27279, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27280, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1209,22 +1209,22 @@ static void inverted_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27281, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27282, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27283, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27284, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1276,22 +1276,22 @@ static void inverted_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27285, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27286, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27287, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27288, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1343,22 +1343,22 @@ static void inverted_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27289, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27290, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27291, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27292, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -1442,22 +1442,22 @@ static void inverted_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27293, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27294, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27295, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27296, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1845,22 +1845,22 @@ static void inverted_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27253, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27257, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27256, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27260, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1889,12 +1889,12 @@ static void inverted_rc_track_s_bend_left( session, direction, session->TrackColours[SCHEME_TRACK] | 27258, 0, 0, 32, 26, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27255, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27259, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -1923,12 +1923,12 @@ static void inverted_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27255, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27259, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -1965,22 +1965,22 @@ static void inverted_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27256, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27260, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27253, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27257, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2016,22 +2016,22 @@ static void inverted_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27261, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27265, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27264, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27268, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2052,12 +2052,12 @@ static void inverted_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27262, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27266, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -2102,12 +2102,12 @@ static void inverted_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 27267, 0, 0, 32, 26, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27262, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27266, 0, 0, 32, 26, 3, height + 29, 0, 6, height + 29); break; @@ -2136,22 +2136,22 @@ static void inverted_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27264, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27268, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27261, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27265, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2187,22 +2187,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27355, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27363, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27362, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27370, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; @@ -2244,22 +2244,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27356, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27364, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27361, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27369, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; @@ -2271,22 +2271,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27357, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27365, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27360, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27368, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; @@ -2299,22 +2299,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27358, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27366, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27359, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27367, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2336,22 +2336,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27359, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27367, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27358, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27366, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2367,22 +2367,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27360, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27368, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27357, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27365, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; @@ -2395,22 +2395,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27361, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27369, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27356, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27364, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; @@ -2422,22 +2422,22 @@ static void inverted_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27362, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27370, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27355, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27363, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2494,22 +2494,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27386, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27378, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27379, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27371, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2551,22 +2551,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27385, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27377, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27380, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27372, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2578,22 +2578,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27384, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27376, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27381, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27373, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; @@ -2606,22 +2606,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27383, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27375, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27382, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27374, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2643,22 +2643,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27382, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27374, 0, 0, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27383, 0, 16, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27375, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; @@ -2674,22 +2674,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27381, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27373, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27384, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27376, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; @@ -2702,22 +2702,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27380, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27372, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27385, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27377, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; @@ -2729,22 +2729,22 @@ static void inverted_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27379, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27371, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27386, 0, 6, 32, 10, 7, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27378, 0, 6, 32, 2, 3, height + 29, 0, 29, height + 29); break; @@ -2801,22 +2801,22 @@ static void inverted_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27392, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27395, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27398, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27389, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2841,7 +2841,7 @@ static void inverted_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27391, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -2850,12 +2850,12 @@ static void inverted_rc_track_left_quarter_turn_3( session, direction, session->TrackColours[SCHEME_TRACK] | 27394, 0, 0, 16, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27397, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27388, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -2868,22 +2868,22 @@ static void inverted_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27390, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27393, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27396, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27387, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -2929,22 +2929,22 @@ static void inverted_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27404, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27407, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27410, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27401, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2969,22 +2969,22 @@ static void inverted_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27403, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27406, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27409, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27400, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -2997,22 +2997,22 @@ static void inverted_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27402, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27405, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27408, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27399, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -3688,22 +3688,22 @@ static void inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27451, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27459, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27458, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27466, 0, 6, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -3741,22 +3741,22 @@ static void inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27452, 0, 0, 32, 2, 3, height + 29, 0, 29, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27460, 0, 14, 32, 2, 63, height + 29, 0, 29, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27457, 0, 6, 32, 2, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27465, 0, 6, 2, 2, 3, height + 29, 29, 20, height + 29); break; @@ -3768,22 +3768,22 @@ static void inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27453, 16, 0, 5, 2, 119, height + 2, 16, 29, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27461, 12, 0, 32, 2, 119, height + 2, 0, -6, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27456, 10, 16, 4, 2, 119, height + 2, 10, 0, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27464, 16, 16, 2, 2, 119, height + 2, 29, 29, height + 2); break; @@ -3799,22 +3799,22 @@ static void inverted_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27454, 0, 0, 32, 20, 3, height + 34, 0, 6, height + 34); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27462, 0, 0, 2, 2, 3, height + 34, 0, 0, height - 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27455, 0, 16, 32, 2, 3, height + 34, 0, 0, height - 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27463, 0, 16, 32, 20, 3, height + 34, 0, 6, height + 34); break; @@ -3849,22 +3849,22 @@ static void inverted_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27467, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27470, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27473, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27476, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; @@ -3888,22 +3888,22 @@ static void inverted_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27468, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27471, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27474, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27477, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; @@ -3915,22 +3915,22 @@ static void inverted_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27469, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27472, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27475, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27478, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; @@ -3967,22 +3967,22 @@ static void inverted_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27479, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27482, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27485, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27488, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 33); break; @@ -4006,22 +4006,22 @@ static void inverted_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27480, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27483, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27486, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27489, 0, 0, 20, 20, 3, height + 14, 6, 6, height + 24); break; @@ -4033,22 +4033,22 @@ static void inverted_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27481, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27484, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27487, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27490, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 39); break; @@ -4098,27 +4098,27 @@ static void inverted_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27352, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27348, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27353, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27349, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27354, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27350, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27351, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27347, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4135,27 +4135,27 @@ static void inverted_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27343, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27339, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27344, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27340, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27345, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27341, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27346, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27342, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4192,13 +4192,13 @@ static void inverted_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27337, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27338, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -4226,22 +4226,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27202, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27207, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27212, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27197, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; @@ -4266,22 +4266,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27201, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27206, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27211, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27196, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4297,22 +4297,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27200, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27205, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27210, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27195, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4328,22 +4328,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27199, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27204, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27209, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27194, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4359,22 +4359,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27198, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27203, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27208, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27193, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; @@ -4411,22 +4411,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27173, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27178, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27183, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27188, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; @@ -4451,22 +4451,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27174, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27179, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27184, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27189, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4482,22 +4482,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27175, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27180, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27185, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27190, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4513,22 +4513,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27176, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27181, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27186, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27191, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4544,22 +4544,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27177, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27182, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27187, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27192, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; @@ -4596,22 +4596,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27182, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27187, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27192, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27177, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; @@ -4636,22 +4636,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27181, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27186, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27191, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27176, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4667,22 +4667,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27180, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27185, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27190, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27175, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4698,22 +4698,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27179, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27184, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27189, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27174, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4729,22 +4729,22 @@ static void inverted_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27178, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27183, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27188, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27173, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; @@ -4781,22 +4781,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27193, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27198, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27203, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27208, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; @@ -4821,22 +4821,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27194, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27199, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27204, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27209, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; @@ -4852,22 +4852,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27195, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27200, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27205, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27210, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; @@ -4883,22 +4883,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27196, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27201, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27206, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27211, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -4914,22 +4914,22 @@ static void inverted_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27197, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27202, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27207, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27212, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; @@ -4963,22 +4963,22 @@ static void inverted_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27711, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27712, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27713, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27714, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -5028,22 +5028,22 @@ static void inverted_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27715, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27716, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27717, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27718, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -5096,7 +5096,7 @@ static void inverted_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27129, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5104,7 +5104,7 @@ static void inverted_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27130, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5112,7 +5112,7 @@ static void inverted_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27129, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5120,7 +5120,7 @@ static void inverted_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27130, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5158,22 +5158,22 @@ static void inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27507, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27511, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27515, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27519, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5194,22 +5194,22 @@ static void inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27508, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27512, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27516, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27520, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5225,22 +5225,22 @@ static void inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27509, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27513, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27517, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27521, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5259,22 +5259,22 @@ static void inverted_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27510, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27514, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27518, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27522, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -5321,22 +5321,22 @@ static void inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27491, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27495, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27499, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27503, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5357,22 +5357,22 @@ static void inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27492, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27496, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27500, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27504, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5388,22 +5388,22 @@ static void inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27493, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27497, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27501, 0, 0, 28, 28, 3, height + 29, 4, 4, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27505, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5422,22 +5422,22 @@ static void inverted_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27494, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27498, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27502, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27506, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -5502,22 +5502,22 @@ static void inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27539, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27543, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27547, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27551, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5538,22 +5538,22 @@ static void inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27540, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27544, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27548, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27552, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5569,22 +5569,22 @@ static void inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27541, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27545, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27549, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27553, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5603,22 +5603,22 @@ static void inverted_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27542, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27546, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27550, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27554, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -5665,22 +5665,22 @@ static void inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27523, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27527, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27531, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27535, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -5701,22 +5701,22 @@ static void inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27524, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27528, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27532, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27536, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; @@ -5732,22 +5732,22 @@ static void inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27525, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27529, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27533, 0, 0, 28, 28, 3, height + 29, 4, 4, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27537, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; @@ -5766,22 +5766,22 @@ static void inverted_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27526, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27530, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27534, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27538, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -5848,7 +5848,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27614, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5859,7 +5859,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27558, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5875,7 +5875,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27611, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5886,7 +5886,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27555, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5902,7 +5902,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27613, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5913,7 +5913,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27557, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5929,7 +5929,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27612, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5940,7 +5940,7 @@ static void inverted_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27556, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -5987,7 +5987,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27626, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -5998,7 +5998,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27570, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6014,7 +6014,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27623, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6025,7 +6025,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27567, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6041,7 +6041,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27625, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6052,7 +6052,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27569, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6068,7 +6068,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27624, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6079,7 +6079,7 @@ static void inverted_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27568, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6124,7 +6124,7 @@ static void inverted_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27582, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6137,7 +6137,7 @@ static void inverted_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27579, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6150,7 +6150,7 @@ static void inverted_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27581, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6163,7 +6163,7 @@ static void inverted_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27580, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6209,7 +6209,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27618, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6220,7 +6220,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27562, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6236,7 +6236,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27615, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6247,7 +6247,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27559, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6263,7 +6263,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27617, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6274,7 +6274,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27561, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6290,7 +6290,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27616, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6301,7 +6301,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27560, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6346,7 +6346,7 @@ static void inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27574, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6359,7 +6359,7 @@ static void inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27571, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6372,7 +6372,7 @@ static void inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27573, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6385,7 +6385,7 @@ static void inverted_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27572, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6429,7 +6429,7 @@ static void inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27578, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6442,7 +6442,7 @@ static void inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27575, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6455,7 +6455,7 @@ static void inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27577, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -6468,7 +6468,7 @@ static void inverted_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27576, -16, -16, 16, 16, 3, height + 29, 0, 0, height + 61); break; @@ -6514,7 +6514,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27622, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6525,7 +6525,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27566, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6541,7 +6541,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27619, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6552,7 +6552,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27563, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6568,7 +6568,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27621, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6579,7 +6579,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27565, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6595,7 +6595,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27620, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6606,7 +6606,7 @@ static void inverted_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27564, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6653,7 +6653,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27624, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6664,7 +6664,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27568, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6680,7 +6680,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27625, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6691,7 +6691,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27569, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6707,7 +6707,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27623, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6718,7 +6718,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27567, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6734,7 +6734,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27626, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6745,7 +6745,7 @@ static void inverted_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27570, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -6790,7 +6790,7 @@ static void inverted_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27580, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -6803,7 +6803,7 @@ static void inverted_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27581, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6816,7 +6816,7 @@ static void inverted_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27579, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6829,7 +6829,7 @@ static void inverted_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27582, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -6875,7 +6875,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27620, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6886,7 +6886,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27564, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6901,7 +6901,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27621, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6912,7 +6912,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27565, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6927,7 +6927,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27619, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6938,7 +6938,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27563, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6953,7 +6953,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27622, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -6964,7 +6964,7 @@ static void inverted_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27566, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7009,7 +7009,7 @@ static void inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27576, -16, -16, 16, 16, 3, height + 29, 0, 0, height + 61); break; @@ -7022,7 +7022,7 @@ static void inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27577, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7035,7 +7035,7 @@ static void inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27575, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7048,7 +7048,7 @@ static void inverted_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27578, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7092,7 +7092,7 @@ static void inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27572, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7105,7 +7105,7 @@ static void inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27573, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7118,7 +7118,7 @@ static void inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27571, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7131,7 +7131,7 @@ static void inverted_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27574, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -7177,7 +7177,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27616, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7188,7 +7188,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27560, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7204,7 +7204,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27617, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7215,7 +7215,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27561, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7231,7 +7231,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27615, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7242,7 +7242,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27559, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7258,7 +7258,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27618, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7269,7 +7269,7 @@ static void inverted_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27562, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7314,7 +7314,7 @@ static void inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27590, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7327,7 +7327,7 @@ static void inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27587, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7340,7 +7340,7 @@ static void inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27589, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7353,7 +7353,7 @@ static void inverted_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27588, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7398,7 +7398,7 @@ static void inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27594, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7411,7 +7411,7 @@ static void inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27591, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7424,7 +7424,7 @@ static void inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27593, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7437,7 +7437,7 @@ static void inverted_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27592, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7482,7 +7482,7 @@ static void inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27592, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7495,7 +7495,7 @@ static void inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27593, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7508,7 +7508,7 @@ static void inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27591, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7521,7 +7521,7 @@ static void inverted_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27594, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7566,7 +7566,7 @@ static void inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27588, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7579,7 +7579,7 @@ static void inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27589, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7592,7 +7592,7 @@ static void inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27587, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7605,7 +7605,7 @@ static void inverted_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27590, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -7650,7 +7650,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27606, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7663,7 +7663,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27603, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7676,7 +7676,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27605, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7689,7 +7689,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27604, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7733,7 +7733,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27610, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7746,7 +7746,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27607, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7759,7 +7759,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27609, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7772,7 +7772,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27608, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7816,7 +7816,7 @@ static void inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27598, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7829,7 +7829,7 @@ static void inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27595, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7842,7 +7842,7 @@ static void inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27597, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7855,7 +7855,7 @@ static void inverted_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27596, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7899,7 +7899,7 @@ static void inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27602, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7912,7 +7912,7 @@ static void inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27599, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7925,7 +7925,7 @@ static void inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27601, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7938,7 +7938,7 @@ static void inverted_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27600, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7982,7 +7982,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27600, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -7994,7 +7994,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27601, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8006,7 +8006,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27599, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8018,7 +8018,7 @@ static void inverted_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27602, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8062,7 +8062,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27596, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8074,7 +8074,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27597, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8086,7 +8086,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27595, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8098,7 +8098,7 @@ static void inverted_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27598, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8142,7 +8142,7 @@ static void inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27608, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8155,7 +8155,7 @@ static void inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27609, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8168,7 +8168,7 @@ static void inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27607, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8181,7 +8181,7 @@ static void inverted_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27610, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8225,7 +8225,7 @@ static void inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27604, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8238,7 +8238,7 @@ static void inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27605, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8251,7 +8251,7 @@ static void inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27603, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8264,7 +8264,7 @@ static void inverted_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27606, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -8308,7 +8308,7 @@ static void inverted_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27586, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8321,7 +8321,7 @@ static void inverted_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27583, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8334,7 +8334,7 @@ static void inverted_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27585, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8347,7 +8347,7 @@ static void inverted_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27584, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8392,7 +8392,7 @@ static void inverted_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27584, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8405,7 +8405,7 @@ static void inverted_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27585, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8418,7 +8418,7 @@ static void inverted_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27583, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8431,7 +8431,7 @@ static void inverted_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27586, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -8476,22 +8476,22 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27639, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27646, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27653, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27660, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; @@ -8508,22 +8508,22 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27640, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27647, 0, 0, 32, 20, 9, height, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27654, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27661, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; @@ -8536,21 +8536,21 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27641, 0, 0, 24, 16, 3, height, 8, 0, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27648, 0, 0, 32, 16, 0, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27655, 0, 0, 32, 16, 0, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27662, 0, 0, 2, 16, 3, height, 30, 16, height + 70); break; @@ -8566,21 +8566,21 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27642, 0, 0, 8, 16, 3, height, 24, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27649, 0, 0, 32, 16, 0, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27656, 0, 0, 32, 16, 0, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27663, 0, 0, 2, 16, 3, height, 30, 16, height + 100); break; @@ -8596,21 +8596,21 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27643, 0, 0, 2, 2, 3, height, 30, 30, height + 80); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27650, 0, 0, 16, 16, 0, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27657, 0, 0, 16, 16, 0, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27664, 0, 0, 2, 16, 3, height, 30, 0, height + 90); break; @@ -8623,21 +8623,21 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27644, 0, 0, 2, 16, 3, height, 30, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27651, 0, 0, 32, 16, 0, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27658, 0, 0, 32, 16, 0, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27665, 0, 0, 2, 16, 3, height, 30, 0, height + 140); break; @@ -8653,27 +8653,27 @@ static void inverted_rc_track_left_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27645, 0, 0, 32, 16, 0, height, 0, 16, height + 32); metal_a_supports_paint_setup( session, METAL_SUPPORTS_BOXED, 4, 27, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27652, 0, 0, 32, 16, 0, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_BOXED, 4, 27, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27659, 0, 0, 32, 16, 0, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_BOXED, 4, 25, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27666, 0, 0, 32, 16, 0, height, 0, 0, height + 32); metal_a_supports_paint_setup( @@ -8705,22 +8705,22 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27688, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27681, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27674, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27667, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; @@ -8737,22 +8737,22 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27689, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27682, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27675, 0, 0, 32, 20, 19, height, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27668, 0, 0, 32, 20, 3, height, 0, 6, height + 29); break; @@ -8765,21 +8765,21 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27690, 0, 0, 32, 16, 3, height, 0, 16, height + 70); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27683, 0, 0, 32, 16, 0, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27676, 0, 0, 32, 16, 0, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27669, 0, 0, 32, 16, 3, height, 0, 0, height + 70); break; @@ -8795,21 +8795,21 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27691, 0, 0, 32, 16, 3, height, 0, 16, height + 100); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27684, 0, 0, 32, 16, 0, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27677, 0, 0, 32, 16, 0, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27670, 0, 0, 32, 16, 3, height, 0, 0, height + 100); break; @@ -8825,21 +8825,21 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27692, 0, 0, 16, 16, 3, height, 16, 0, height + 90); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27685, 0, 0, 16, 16, 0, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27678, 0, 0, 16, 16, 0, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27671, 0, 0, 2, 16, 3, height, 30, 16, height + 110); break; @@ -8852,21 +8852,21 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27693, 0, 0, 2, 16, 3, height, 30, 0, height + 140); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27686, 0, 0, 32, 16, 0, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27679, 0, 0, 32, 16, 0, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27672, 0, 0, 2, 16, 3, height, 30, 16, height + 140); break; @@ -8882,27 +8882,27 @@ static void inverted_rc_track_right_large_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27694, 0, 0, 32, 16, 0, height, 0, 0, height + 32); metal_a_supports_paint_setup( session, METAL_SUPPORTS_BOXED, 4, 27, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27687, 0, 0, 32, 16, 0, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_BOXED, 4, 25, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27680, 0, 0, 32, 16, 0, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_BOXED, 4, 27, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27673, 0, 0, 32, 16, 0, height, 0, 16, height + 32); metal_a_supports_paint_setup( @@ -8948,13 +8948,13 @@ static void inverted_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27337, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27338, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -9523,22 +9523,22 @@ static void inverted_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27719, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27720, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27721, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27722, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -9588,22 +9588,22 @@ static void inverted_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27723, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27724, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27725, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27726, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -9653,22 +9653,22 @@ static void inverted_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27727, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27728, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27729, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27730, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -9718,22 +9718,22 @@ static void inverted_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27731, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27732, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27733, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27734, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -9819,22 +9819,22 @@ static void inverted_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27735, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27736, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27737, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27738, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -9884,22 +9884,22 @@ static void inverted_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27739, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27740, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27741, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27742, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -9949,22 +9949,22 @@ static void inverted_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27743, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27744, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27745, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27746, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -10014,22 +10014,22 @@ static void inverted_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27747, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27748, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27749, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27750, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -10115,22 +10115,22 @@ static void inverted_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27695, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27696, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27697, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27698, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -10180,22 +10180,22 @@ static void inverted_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27699, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27700, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27701, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27702, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -10245,22 +10245,22 @@ static void inverted_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27703, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27704, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27705, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27706, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -10310,22 +10310,22 @@ static void inverted_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27707, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27708, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27709, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27710, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; diff --git a/src/openrct2/ride/coaster/JuniorRollerCoaster.cpp b/src/openrct2/ride/coaster/JuniorRollerCoaster.cpp index d85fcb51f4..b877120875 100644 --- a/src/openrct2/ride/coaster/JuniorRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/JuniorRollerCoaster.cpp @@ -5684,7 +5684,7 @@ static void junior_rc_track_on_ride_photo( session, METAL_SUPPORTS_FORK, 5, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 8, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; case 1: sub_98196C_rotated( @@ -5693,7 +5693,7 @@ static void junior_rc_track_on_ride_photo( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated( @@ -5702,7 +5702,7 @@ static void junior_rc_track_on_ride_photo( session, METAL_SUPPORTS_FORK, 5, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 8, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; case 3: sub_98196C_rotated( @@ -5711,7 +5711,7 @@ static void junior_rc_track_on_ride_photo( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; } track_paint_util_onride_photo_paint(session, direction, height + 3 + photoCameraOffset, tileElement); diff --git a/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp b/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp index f68bc35a66..7c39916ef8 100644 --- a/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp @@ -31,19 +31,19 @@ static void lay_down_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16226, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16227, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16228, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16229, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -59,12 +59,12 @@ static void lay_down_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16224, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16225, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -87,13 +87,13 @@ static void lay_down_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26557, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26558, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -105,13 +105,13 @@ static void lay_down_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26555, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26556, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -145,13 +145,13 @@ static void lay_down_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 26558, SPR_STATION_INVERTED_BAR_A_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 6, height + 24); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11); @@ -169,13 +169,13 @@ static void lay_down_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -201,19 +201,19 @@ static void lay_down_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16314, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16315, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16316, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16317, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -228,19 +228,19 @@ static void lay_down_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16286, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16287, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16288, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16289, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -269,22 +269,22 @@ static void lay_down_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26621, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26622, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26623, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26624, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -295,22 +295,22 @@ static void lay_down_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26569, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26570, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26571, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26572, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -366,21 +366,21 @@ static void lay_down_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16330, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16331, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16332, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16333, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -395,21 +395,21 @@ static void lay_down_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16302, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16303, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16304, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16305, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -436,22 +436,22 @@ static void lay_down_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26585, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26586, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26587, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26588, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; @@ -482,19 +482,19 @@ static void lay_down_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16306, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16307, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16308, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16309, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -509,19 +509,19 @@ static void lay_down_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16278, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16279, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16280, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16281, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -550,22 +550,22 @@ static void lay_down_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26613, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26614, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26615, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26616, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -576,22 +576,22 @@ static void lay_down_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26561, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26562, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26563, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26564, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -647,25 +647,25 @@ static void lay_down_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16318, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16319, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16322, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16320, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16323, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16321, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -680,25 +680,25 @@ static void lay_down_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16290, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16291, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16294, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16292, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16295, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16293, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -725,28 +725,28 @@ static void lay_down_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26573, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26577, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26574, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26578, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26575, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26576, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -777,25 +777,25 @@ static void lay_down_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16324, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16325, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16328, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16326, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16329, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16327, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -810,25 +810,25 @@ static void lay_down_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16296, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16297, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16300, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16298, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16301, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16299, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -855,28 +855,28 @@ static void lay_down_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26579, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26583, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26580, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26584, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26581, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26582, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -931,19 +931,19 @@ static void lay_down_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16310, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16311, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16312, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16313, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -958,19 +958,19 @@ static void lay_down_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16282, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16283, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16284, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16285, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -999,22 +999,22 @@ static void lay_down_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26617, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26618, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26619, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26620, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -1025,22 +1025,22 @@ static void lay_down_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26565, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26566, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26567, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26568, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -1145,22 +1145,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16343, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16348, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16353, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16338, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -1183,22 +1183,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16342, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16347, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16352, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16337, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1214,22 +1214,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16341, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16346, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16351, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16336, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -1246,22 +1246,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16340, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16345, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16350, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16335, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1277,22 +1277,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16339, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16344, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16349, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16334, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -1323,22 +1323,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26694, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26699, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26704, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26689, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1364,22 +1364,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26693, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26698, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26703, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26688, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -1395,22 +1395,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26692, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26697, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26702, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26687, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -1427,22 +1427,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26691, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26696, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26701, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26686, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 22); break; @@ -1458,22 +1458,22 @@ static void lay_down_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26690, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26695, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26700, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26685, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -1520,23 +1520,23 @@ static void lay_down_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16238, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16246, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16239, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16247, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16240, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16241, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1555,22 +1555,22 @@ static void lay_down_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26657, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26658, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26659, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26660, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1601,23 +1601,23 @@ static void lay_down_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16242, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16243, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16244, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16245, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16249, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1636,22 +1636,22 @@ static void lay_down_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26661, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26662, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26663, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26664, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1682,23 +1682,23 @@ static void lay_down_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16244, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16245, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16249, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16242, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16243, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1717,22 +1717,22 @@ static void lay_down_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26663, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26664, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26661, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26662, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1763,23 +1763,23 @@ static void lay_down_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16240, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16241, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16238, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16246, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16239, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16247, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1798,22 +1798,22 @@ static void lay_down_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26659, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26660, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26657, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26658, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1847,25 +1847,25 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16363, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16374, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16368, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16373, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16358, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -1888,22 +1888,22 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16362, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16367, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16372, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16357, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1919,22 +1919,22 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16361, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16366, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16371, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16356, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -1951,22 +1951,22 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16360, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16365, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16370, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16355, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1982,25 +1982,25 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16359, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16364, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16369, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16375, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16354, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -2031,22 +2031,22 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26738, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26743, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26748, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26733, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -2080,12 +2080,12 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26742, 0, 0, 32, 16, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26747, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26732, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 24); break; @@ -2101,17 +2101,17 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26736, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26741, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26746, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 24); break; @@ -2132,7 +2132,7 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26735, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 24); break; @@ -2145,7 +2145,7 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26745, 0, 0, 16, 32, 3, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26730, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 24); break; @@ -2161,22 +2161,22 @@ static void lay_down_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26734, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26739, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26744, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26729, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; @@ -2223,23 +2223,23 @@ static void lay_down_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16250, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16254, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16251, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16255, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16252, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16253, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2265,22 +2265,22 @@ static void lay_down_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26665, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26666, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26667, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26668, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2335,23 +2335,23 @@ static void lay_down_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16256, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16257, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16258, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16260, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16259, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16261, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -2377,22 +2377,22 @@ static void lay_down_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26669, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26670, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26671, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26672, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2447,23 +2447,23 @@ static void lay_down_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16262, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16266, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16263, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16267, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16264, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16265, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2489,22 +2489,22 @@ static void lay_down_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26673, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26674, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26675, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26676, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2559,23 +2559,23 @@ static void lay_down_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16268, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16269, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16270, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16272, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16271, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16273, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -2601,22 +2601,22 @@ static void lay_down_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26677, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26678, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26679, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26680, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2703,19 +2703,19 @@ static void lay_down_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16274, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16275, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16276, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16277, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2734,22 +2734,22 @@ static void lay_down_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26681, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26682, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26683, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26684, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -2791,22 +2791,22 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16510, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16515, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16520, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16525, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -2837,12 +2837,12 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16516, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16521, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16526, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -2858,17 +2858,17 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16512, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16517, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16522, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -2889,7 +2889,7 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16513, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2902,7 +2902,7 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16523, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16528, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2918,22 +2918,22 @@ static void lay_down_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16514, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16519, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16524, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16529, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -3135,22 +3135,22 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16490, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16495, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16500, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16505, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3173,12 +3173,12 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16491, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16496, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3206,17 +3206,17 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16492, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16497, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16502, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16507, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3233,7 +3233,7 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16493, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3246,7 +3246,7 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16503, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16508, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3262,22 +3262,22 @@ static void lay_down_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16494, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16499, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16504, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16509, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -3499,22 +3499,22 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16402, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16406, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16405, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16409, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3546,12 +3546,12 @@ static void lay_down_rc_track_s_bend_left( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16404, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16408, 0, 0, 32, 26, 3, height, 0, 6, height); break; @@ -3567,12 +3567,12 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16404, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16408, 0, 0, 32, 26, 3, height, 0, 6, height); break; @@ -3600,22 +3600,22 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16405, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16409, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16402, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16406, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3646,22 +3646,22 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26641, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26645, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26644, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26648, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3683,22 +3683,22 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26642, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26646, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26643, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26647, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; @@ -3727,22 +3727,22 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26643, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26647, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26642, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26646, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; @@ -3771,22 +3771,22 @@ static void lay_down_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26644, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26648, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26641, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26645, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3826,22 +3826,22 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16410, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16414, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16413, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16417, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3861,14 +3861,14 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16411, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16415, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( @@ -3902,14 +3902,14 @@ static void lay_down_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 16416, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16411, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16415, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( @@ -3927,22 +3927,22 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16413, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16417, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16410, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16414, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3973,22 +3973,22 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26649, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26653, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26652, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26656, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -4010,22 +4010,22 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26650, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26654, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26651, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26655, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; @@ -4054,22 +4054,22 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26651, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26655, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26650, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26654, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; @@ -4098,22 +4098,22 @@ static void lay_down_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26652, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26656, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26649, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26653, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -4225,22 +4225,22 @@ static void lay_down_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16564, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16572, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16567, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16575, 16, 16, 2, 16, 119, height, 16, 16, height); break; @@ -4313,22 +4313,22 @@ static void lay_down_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16567, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16575, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16564, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16572, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -4488,22 +4488,22 @@ static void lay_down_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16591, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16583, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16588, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16580, 16, 0, 2, 16, 119, height, 16, 0, height); break; @@ -4564,22 +4564,22 @@ static void lay_down_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16588, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16580, 16, 0, 2, 16, 119, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16591, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16583, 10, 16, 4, 16, 119, height, 10, 16, height); break; @@ -4667,22 +4667,22 @@ static void lay_down_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16381, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16384, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16387, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16378, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4705,22 +4705,22 @@ static void lay_down_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16380, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16383, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16386, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16377, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -4734,22 +4734,22 @@ static void lay_down_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16379, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16382, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16385, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16376, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -4780,22 +4780,22 @@ static void lay_down_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26710, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26713, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26716, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26707, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -4821,22 +4821,22 @@ static void lay_down_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26709, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26712, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26715, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26706, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -4850,22 +4850,22 @@ static void lay_down_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26708, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26711, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26714, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26705, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -4915,25 +4915,25 @@ static void lay_down_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16393, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16400, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16396, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16399, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16390, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -4956,22 +4956,22 @@ static void lay_down_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16392, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16395, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16398, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16389, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -4985,25 +4985,25 @@ static void lay_down_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16391, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16394, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16397, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16401, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16388, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -5034,22 +5034,22 @@ static void lay_down_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26722, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26725, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26728, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26719, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -5075,22 +5075,22 @@ static void lay_down_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26721, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26724, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26727, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26718, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -5104,22 +5104,22 @@ static void lay_down_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26720, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26723, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26726, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26717, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -5535,23 +5535,23 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16481, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16488, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16484, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16487, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16478, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -5573,22 +5573,22 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16480, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16483, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16486, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16477, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -5601,23 +5601,23 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16479, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16482, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16485, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16489, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16476, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5641,23 +5641,23 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16478, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16481, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16488, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16484, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16487, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5684,22 +5684,22 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16477, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16480, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16483, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16486, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -5712,22 +5712,22 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16476, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16479, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16482, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16485, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16489, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5757,22 +5757,22 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16462, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16465, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16468, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16471, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16475, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5795,22 +5795,22 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16463, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16466, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16469, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16472, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -5823,23 +5823,23 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16464, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16467, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16474, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16470, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16473, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5863,23 +5863,23 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16465, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16468, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16471, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16475, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16462, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -5906,22 +5906,22 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16466, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16469, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16472, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16463, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -5934,23 +5934,23 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16467, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16474, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16470, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16473, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16464, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -6009,23 +6009,23 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16449, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16460, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16454, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16459, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16444, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -6047,21 +6047,21 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16448, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16453, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16458, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16443, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -6077,22 +6077,22 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16447, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16452, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16457, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16442, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -6107,21 +6107,21 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16446, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16451, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16456, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16441, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -6137,23 +6137,23 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16445, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16450, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16455, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16461, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16440, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -6177,23 +6177,23 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16444, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16449, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16460, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16454, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16459, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -6220,21 +6220,21 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16443, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16448, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16453, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16458, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -6250,21 +6250,21 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16442, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16447, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16452, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16457, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -6280,22 +6280,22 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16441, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16446, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16451, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16456, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -6310,22 +6310,22 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16440, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16445, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16450, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16455, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16461, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -6355,22 +6355,22 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16418, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16423, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16428, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16433, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16439, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -6393,22 +6393,22 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16419, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16424, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16429, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16434, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -6423,21 +6423,21 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16420, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16425, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16430, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16435, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -6453,21 +6453,21 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16421, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16426, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16431, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16436, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -6483,23 +6483,23 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16422, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16427, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16438, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16432, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16437, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -6523,23 +6523,23 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16423, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16428, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16433, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16439, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16418, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -6566,21 +6566,21 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16424, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16429, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16434, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16419, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -6596,22 +6596,22 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16425, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16430, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16435, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16420, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -6626,21 +6626,21 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16426, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16431, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16436, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16421, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -6656,23 +6656,23 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16427, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16438, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16432, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16437, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16422, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -6730,30 +6730,30 @@ static void lay_down_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16555, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16559, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16556, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16560, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16557, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16561, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16554, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16558, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; @@ -6764,30 +6764,30 @@ static void lay_down_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26910, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26906, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26911, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26907, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26912, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26908, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26909, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26905, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; @@ -6808,30 +6808,30 @@ static void lay_down_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16546, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16550, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16547, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16551, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16548, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16552, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16549, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16553, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; @@ -6842,30 +6842,30 @@ static void lay_down_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26901, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26897, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26902, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26898, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26903, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26899, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26904, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26900, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; @@ -6906,12 +6906,12 @@ static void lay_down_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16230, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16231, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -6931,13 +6931,13 @@ static void lay_down_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26559, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26560, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -6971,7 +6971,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16224, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: @@ -6980,7 +6980,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16225, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: @@ -6989,7 +6989,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16224, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: @@ -6998,7 +6998,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16225, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -7017,7 +7017,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26555, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7027,7 +7027,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26556, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7037,7 +7037,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26555, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7047,7 +7047,7 @@ static void lay_down_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26556, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -7072,22 +7072,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16740, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16744, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16748, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16752, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7106,22 +7106,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16741, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16745, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16749, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16753, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -7137,22 +7137,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16742, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16746, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16750, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16754, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -7173,28 +7173,28 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16743, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16747, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16751, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16755, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -7218,22 +7218,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26765, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26769, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26773, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26777, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -7254,22 +7254,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26766, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26770, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26774, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26778, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -7285,22 +7285,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26767, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26771, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26775, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26779, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -7321,22 +7321,22 @@ static void lay_down_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26768, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26772, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26776, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26780, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; @@ -7386,22 +7386,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16724, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16728, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16732, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16736, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7420,22 +7420,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16725, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16729, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16733, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16737, 0, 0, 32, 16, 3, height, 0, 0, height); break; @@ -7451,22 +7451,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16726, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16730, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16734, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16738, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -7487,28 +7487,28 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16727, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16731, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16735, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16739, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -7532,22 +7532,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26749, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26753, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26757, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26761, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -7568,22 +7568,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26750, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26754, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26758, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26762, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; @@ -7599,22 +7599,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26751, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26755, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26759, 0, 0, 28, 28, 3, height + 24, 4, 4, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26763, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; @@ -7635,22 +7635,22 @@ static void lay_down_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26752, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26756, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26760, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26764, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -7718,22 +7718,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16772, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16776, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16780, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16784, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -7752,22 +7752,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16773, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16777, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16781, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16785, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -7783,22 +7783,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16774, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16778, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16782, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16786, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -7819,28 +7819,28 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16775, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16779, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16783, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16787, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -7864,22 +7864,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26853, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26857, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26861, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26865, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -7901,22 +7901,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26854, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26858, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26862, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26866, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -7932,22 +7932,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26855, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26859, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26863, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26867, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -7968,22 +7968,22 @@ static void lay_down_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26856, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26860, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26864, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26868, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; @@ -8033,22 +8033,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16756, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16760, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16764, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16768, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -8067,22 +8067,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16757, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16761, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16765, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16769, 0, 0, 32, 16, 3, height, 0, 0, height); break; @@ -8098,22 +8098,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16758, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16762, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16766, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16770, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -8134,28 +8134,28 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16759, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16763, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16767, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16771, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -8179,22 +8179,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26837, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26841, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26845, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26849, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -8216,22 +8216,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26838, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26842, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26846, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26850, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; @@ -8247,22 +8247,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26839, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26843, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26847, 0, 0, 28, 28, 3, height + 24, 4, 4, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26851, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; @@ -8283,22 +8283,22 @@ static void lay_down_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26840, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26844, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26848, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26852, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -8368,7 +8368,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16699, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8379,7 +8379,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16637, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8396,7 +8396,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16696, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8407,7 +8407,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16634, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8424,7 +8424,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16698, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8435,7 +8435,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16636, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8456,7 +8456,7 @@ static void lay_down_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16697, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8481,7 +8481,7 @@ static void lay_down_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16635, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8514,7 +8514,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26812, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8525,7 +8525,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26784, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8542,7 +8542,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26809, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8553,7 +8553,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26781, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8570,7 +8570,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26811, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8581,7 +8581,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26783, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8598,7 +8598,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26810, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8609,7 +8609,7 @@ static void lay_down_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26782, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -8660,7 +8660,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16711, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8671,7 +8671,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16649, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8688,7 +8688,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16708, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8699,7 +8699,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16646, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8716,7 +8716,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16710, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8727,7 +8727,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16648, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8748,7 +8748,7 @@ static void lay_down_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16709, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8773,7 +8773,7 @@ static void lay_down_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16647, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8806,7 +8806,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26824, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8817,7 +8817,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26796, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8834,7 +8834,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26821, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8845,7 +8845,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26793, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8862,7 +8862,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26823, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8873,7 +8873,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26795, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8890,7 +8890,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26822, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8901,7 +8901,7 @@ static void lay_down_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26794, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8952,7 +8952,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16723, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8963,7 +8963,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16661, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8980,7 +8980,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16720, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8991,7 +8991,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16658, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9008,7 +9008,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16722, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9019,7 +9019,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16660, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9040,7 +9040,7 @@ static void lay_down_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16721, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9065,7 +9065,7 @@ static void lay_down_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16659, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9096,7 +9096,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26808, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -9110,7 +9110,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26805, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -9124,7 +9124,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26807, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -9138,7 +9138,7 @@ static void lay_down_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26806, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 24); break; @@ -9188,7 +9188,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16703, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9199,7 +9199,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16641, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9216,7 +9216,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16700, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9227,7 +9227,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16638, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9244,7 +9244,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16702, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9255,7 +9255,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16640, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9276,7 +9276,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16701, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9301,7 +9301,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16639, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9334,7 +9334,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26816, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9345,7 +9345,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26788, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9362,7 +9362,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26813, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9373,7 +9373,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26785, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9390,7 +9390,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26815, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9401,7 +9401,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26787, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9418,7 +9418,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26814, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9429,7 +9429,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26786, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9480,7 +9480,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16715, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9491,7 +9491,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16653, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9508,7 +9508,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16712, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9519,7 +9519,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16650, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9536,7 +9536,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16714, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9547,7 +9547,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16652, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9568,7 +9568,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16713, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9593,7 +9593,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16651, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9624,7 +9624,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26800, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9638,7 +9638,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26797, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9652,7 +9652,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26799, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9666,7 +9666,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26798, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9716,7 +9716,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16719, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9727,7 +9727,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16657, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9744,7 +9744,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16716, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9755,7 +9755,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16654, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9772,7 +9772,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16718, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9783,7 +9783,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16656, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9804,7 +9804,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16717, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -9829,7 +9829,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16655, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -9860,7 +9860,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26804, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9874,7 +9874,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26801, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9888,7 +9888,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26803, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9902,7 +9902,7 @@ static void lay_down_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26802, -16, -16, 16, 16, 3, height + 24, 0, 0, height + 56); break; @@ -9952,7 +9952,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16707, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9963,7 +9963,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16645, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9980,7 +9980,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16704, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9991,7 +9991,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16642, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10008,7 +10008,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16706, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10019,7 +10019,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16644, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10040,7 +10040,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16705, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10065,7 +10065,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16643, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10098,7 +10098,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26820, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10109,7 +10109,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26792, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10126,7 +10126,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26817, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10137,7 +10137,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26789, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10154,7 +10154,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26819, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10165,7 +10165,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26791, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10182,7 +10182,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26818, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10193,7 +10193,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26790, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10244,7 +10244,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16709, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10255,7 +10255,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16647, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10272,7 +10272,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16710, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10283,7 +10283,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16648, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10300,7 +10300,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16708, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10311,7 +10311,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16646, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10332,7 +10332,7 @@ static void lay_down_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16711, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10357,7 +10357,7 @@ static void lay_down_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16649, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10388,7 +10388,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26794, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10402,7 +10402,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26795, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10416,7 +10416,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26793, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10430,7 +10430,7 @@ static void lay_down_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26796, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -10480,7 +10480,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16721, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10491,7 +10491,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16659, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10508,7 +10508,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16722, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10519,7 +10519,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16660, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10536,7 +10536,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16720, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10547,7 +10547,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16658, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10568,7 +10568,7 @@ static void lay_down_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16723, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10593,7 +10593,7 @@ static void lay_down_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16661, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10624,7 +10624,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26806, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 24); break; @@ -10638,7 +10638,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26807, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -10652,7 +10652,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26805, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -10666,7 +10666,7 @@ static void lay_down_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26808, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -10716,7 +10716,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16705, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10727,7 +10727,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16643, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10743,7 +10743,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16706, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10754,7 +10754,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16644, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10770,7 +10770,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16704, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10781,7 +10781,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16642, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10801,7 +10801,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16707, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10826,7 +10826,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16645, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10856,7 +10856,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26790, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10869,7 +10869,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26791, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10882,7 +10882,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26789, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10895,7 +10895,7 @@ static void lay_down_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26792, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10945,7 +10945,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16717, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -10956,7 +10956,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16655, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -10973,7 +10973,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16718, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10984,7 +10984,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16656, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11001,7 +11001,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16716, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11012,7 +11012,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16654, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11033,7 +11033,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16719, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11058,7 +11058,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16657, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11089,7 +11089,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26802, -16, -16, 16, 16, 3, height + 24, 0, 0, height + 56); break; @@ -11103,7 +11103,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26803, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11117,7 +11117,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26801, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11131,7 +11131,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26804, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11181,7 +11181,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16713, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11192,7 +11192,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16651, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11209,7 +11209,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16714, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11220,7 +11220,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16652, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11237,7 +11237,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16712, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11248,7 +11248,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16650, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11269,7 +11269,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16715, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11294,7 +11294,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16653, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11325,7 +11325,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26798, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11339,7 +11339,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26799, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11353,7 +11353,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26797, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11367,7 +11367,7 @@ static void lay_down_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26800, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -11417,7 +11417,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16701, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11428,7 +11428,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16639, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11445,7 +11445,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16702, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11456,7 +11456,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16640, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11473,7 +11473,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16700, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11484,7 +11484,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16638, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11505,7 +11505,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16703, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11530,7 +11530,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16641, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11561,7 +11561,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26786, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11575,7 +11575,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26787, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11589,7 +11589,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26785, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11603,7 +11603,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26788, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11651,7 +11651,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16669, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11665,10 +11665,10 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16666, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16670, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -11682,7 +11682,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16668, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11700,7 +11700,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16667, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -11730,7 +11730,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26876, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11744,7 +11744,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26873, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11758,7 +11758,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26875, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11772,7 +11772,7 @@ static void lay_down_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26874, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11821,7 +11821,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16674, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11835,7 +11835,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16671, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11849,10 +11849,10 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16673, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16675, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -11870,7 +11870,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16672, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -11900,7 +11900,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26880, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11914,7 +11914,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26877, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11928,7 +11928,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26879, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11942,7 +11942,7 @@ static void lay_down_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26878, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11991,7 +11991,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16672, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12005,10 +12005,10 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16673, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16675, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -12022,7 +12022,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16671, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12040,7 +12040,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16674, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -12070,7 +12070,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26878, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12084,7 +12084,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26879, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12098,7 +12098,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26877, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12112,7 +12112,7 @@ static void lay_down_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26880, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12161,7 +12161,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16667, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12175,7 +12175,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16668, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12189,10 +12189,10 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16666, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16670, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -12210,7 +12210,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16669, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -12240,7 +12240,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26874, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12254,7 +12254,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26875, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12268,7 +12268,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26873, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12282,7 +12282,7 @@ static void lay_down_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26876, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -12331,7 +12331,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16689, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12345,10 +12345,10 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16686, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16690, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -12362,7 +12362,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16688, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12380,7 +12380,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16687, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -12410,7 +12410,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26892, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12424,7 +12424,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26889, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12438,7 +12438,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26891, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12452,7 +12452,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26890, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12500,7 +12500,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16694, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12514,7 +12514,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16691, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12528,10 +12528,10 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16693, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16695, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -12549,7 +12549,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16692, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -12579,7 +12579,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26896, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12593,7 +12593,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26893, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12607,7 +12607,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26895, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12621,7 +12621,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26894, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12669,7 +12669,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16679, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12683,10 +12683,10 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16676, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16680, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -12700,7 +12700,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16678, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12718,7 +12718,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16677, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -12748,7 +12748,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26884, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12762,7 +12762,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26881, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12776,7 +12776,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26883, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12790,7 +12790,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26882, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12838,7 +12838,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16684, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12852,7 +12852,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16681, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -12866,10 +12866,10 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16683, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16685, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -12887,7 +12887,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16682, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -12917,7 +12917,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26888, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12931,7 +12931,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26885, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12945,7 +12945,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26887, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -12959,7 +12959,7 @@ static void lay_down_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26886, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13007,7 +13007,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16682, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13020,10 +13020,10 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16683, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16685, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13036,7 +13036,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16681, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13053,7 +13053,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16684, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13082,7 +13082,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26886, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13095,7 +13095,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26887, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13108,7 +13108,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26885, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13121,7 +13121,7 @@ static void lay_down_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26888, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13169,7 +13169,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16677, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13182,7 +13182,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16678, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13195,10 +13195,10 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16676, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16680, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13215,7 +13215,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16679, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13244,7 +13244,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26882, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13257,7 +13257,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26883, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13270,7 +13270,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26881, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13283,7 +13283,7 @@ static void lay_down_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26884, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13331,7 +13331,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16692, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13345,10 +13345,10 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16693, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16695, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13362,7 +13362,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16691, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13380,7 +13380,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16694, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13410,7 +13410,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26894, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13424,7 +13424,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26895, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13438,7 +13438,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26893, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13452,7 +13452,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26896, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13500,7 +13500,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16687, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13514,7 +13514,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16688, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13528,10 +13528,10 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16686, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16690, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -13549,7 +13549,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16689, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -13579,7 +13579,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26890, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13593,7 +13593,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26891, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13607,7 +13607,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26889, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13621,7 +13621,7 @@ static void lay_down_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26892, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -13669,7 +13669,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16665, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13683,7 +13683,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16662, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -13697,7 +13697,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16664, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13715,7 +13715,7 @@ static void lay_down_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16663, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -13745,7 +13745,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26872, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13759,7 +13759,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26869, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13773,7 +13773,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26871, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13787,7 +13787,7 @@ static void lay_down_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26870, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13836,7 +13836,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16663, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13850,7 +13850,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16664, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -13864,7 +13864,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16662, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -13882,7 +13882,7 @@ static void lay_down_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16665, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -13912,7 +13912,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26870, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13926,7 +13926,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26871, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13940,7 +13940,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26869, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -13954,7 +13954,7 @@ static void lay_down_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26872, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -14034,7 +14034,7 @@ static void lay_down_rc_track_left_flyer_twist_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26973, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14062,7 +14062,7 @@ static void lay_down_rc_track_left_flyer_twist_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26974, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14231,7 +14231,7 @@ static void lay_down_rc_track_left_flyer_twist_down( session, direction, session->TrackColours[SCHEME_TRACK] | 26975, 0, 6, 32, 20, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26974, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14267,7 +14267,7 @@ static void lay_down_rc_track_left_flyer_twist_down( session, direction, session->TrackColours[SCHEME_TRACK] | 26976, 0, 6, 32, 20, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26973, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -14475,20 +14475,20 @@ static void lay_down_rc_track_flyer_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16595, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16603, 0, 14, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16600, 0, 6, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( @@ -14512,7 +14512,7 @@ static void lay_down_rc_track_flyer_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16596, 16, 0, 2, 16, 119, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16604, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -14521,7 +14521,7 @@ static void lay_down_rc_track_flyer_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 16599, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16607, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -14607,7 +14607,7 @@ static void lay_down_rc_track_flyer_half_loop_down( session, direction, session->TrackColours[SCHEME_TRACK] | 16596, 16, 0, 2, 16, 119, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16604, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -14616,7 +14616,7 @@ static void lay_down_rc_track_flyer_half_loop_down( session, direction, session->TrackColours[SCHEME_TRACK] | 16599, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16607, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -14632,20 +14632,20 @@ static void lay_down_rc_track_flyer_half_loop_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16595, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16603, 0, 14, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16600, 0, 6, 3, 20, 63, height, 28, 6, height); metal_a_supports_paint_setup( @@ -14705,22 +14705,22 @@ static void lay_down_rc_track_left_flyer_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16610, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16613, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16616, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16619, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -14753,22 +14753,22 @@ static void lay_down_rc_track_left_flyer_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16611, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16614, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16617, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16620, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -14780,22 +14780,22 @@ static void lay_down_rc_track_left_flyer_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16612, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16615, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16618, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16621, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -14832,22 +14832,22 @@ static void lay_down_rc_track_right_flyer_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16622, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16625, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16628, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16631, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -14867,22 +14867,22 @@ static void lay_down_rc_track_right_flyer_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16623, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16626, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16629, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16632, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -14894,22 +14894,22 @@ static void lay_down_rc_track_right_flyer_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16624, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16627, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16630, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16633, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -14946,22 +14946,22 @@ static void lay_down_rc_track_left_flyer_corkscrew_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16627, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16630, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16633, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16624, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -14983,22 +14983,22 @@ static void lay_down_rc_track_left_flyer_corkscrew_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16626, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16629, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16632, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16623, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -15010,22 +15010,22 @@ static void lay_down_rc_track_left_flyer_corkscrew_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16625, 0, 0, 20, 32, 3, height, 6, 0, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16628, 0, 0, 20, 32, 3, height, 6, 0, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16631, 0, 0, 20, 32, 3, height, 6, 0, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16622, 0, 0, 20, 32, 3, height, 6, 0, height + 4); break; @@ -15068,12 +15068,12 @@ static void lay_down_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16232, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16233, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -15090,13 +15090,13 @@ static void lay_down_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26559, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26560, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -15125,22 +15125,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27118, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27123, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27128, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27113, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; @@ -15165,22 +15165,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27117, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27122, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27127, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27112, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; @@ -15196,22 +15196,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27116, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27121, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27126, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27111, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; @@ -15227,22 +15227,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27115, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27120, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27125, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27110, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -15258,22 +15258,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27114, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27119, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27124, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27109, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; @@ -15309,22 +15309,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27089, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27094, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27099, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27104, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 30); break; @@ -15349,22 +15349,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27090, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27095, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27100, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27105, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; @@ -15380,22 +15380,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27091, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27096, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27101, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27106, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; @@ -15411,22 +15411,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27092, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27097, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27102, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27107, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -15442,22 +15442,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27093, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27098, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27103, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27108, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 38); break; @@ -15493,22 +15493,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27098, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27103, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27108, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27093, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; @@ -15533,22 +15533,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27097, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27102, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27107, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27092, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; @@ -15564,22 +15564,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27096, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27101, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27106, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27091, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; @@ -15595,22 +15595,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27095, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27100, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27105, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27090, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -15626,22 +15626,22 @@ static void lay_down_rc_track_left_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27094, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27099, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27104, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27089, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; @@ -15677,22 +15677,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27109, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27114, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27119, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27124, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 38); break; @@ -15717,22 +15717,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27110, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27115, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27120, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27125, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 38); break; @@ -15748,22 +15748,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27111, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27116, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27121, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27126, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 38); break; @@ -15779,22 +15779,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27112, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27117, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27122, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 38); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27127, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 38); break; @@ -15810,22 +15810,22 @@ static void lay_down_rc_track_right_quarter_banked_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27113, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27118, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27123, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 27128, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 30); break; diff --git a/src/openrct2/ride/coaster/LimLaunchedRollerCoaster.cpp b/src/openrct2/ride/coaster/LimLaunchedRollerCoaster.cpp index b67cafc029..4759b47aac 100644 --- a/src/openrct2/ride/coaster/LimLaunchedRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LimLaunchedRollerCoaster.cpp @@ -33,13 +33,13 @@ static void lim_launched_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -129,22 +129,22 @@ static void lim_launched_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15390, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15398, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15393, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15401, 16, 16, 2, 16, 119, height, 16, 16, height); break; @@ -217,22 +217,22 @@ static void lim_launched_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15393, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15401, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15390, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15398, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -375,22 +375,22 @@ static void lim_launched_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15417, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15409, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15414, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15406, 16, 0, 2, 16, 119, height, 16, 0, height); break; @@ -451,22 +451,22 @@ static void lim_launched_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15414, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15406, 16, 0, 2, 16, 119, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15417, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15409, 10, 16, 4, 16, 119, height, 10, 16, height); break; @@ -543,30 +543,30 @@ static void lim_launched_rc_track_left_twist_down_to_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15758, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15782, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15761, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15785, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15764, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15788, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15767, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15791, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -585,30 +585,30 @@ static void lim_launched_rc_track_left_twist_down_to_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15759, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15783, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15762, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15786, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15765, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15789, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15768, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15792, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -624,30 +624,30 @@ static void lim_launched_rc_track_left_twist_down_to_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15760, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15784, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15763, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15787, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15766, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15790, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15769, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15793, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; @@ -680,30 +680,30 @@ static void lim_launched_rc_track_right_twist_down_to_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15770, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15794, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15773, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15797, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15776, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15800, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15779, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15803, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -722,30 +722,30 @@ static void lim_launched_rc_track_right_twist_down_to_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15771, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15795, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15774, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15798, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15777, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15801, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15780, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15804, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -761,30 +761,30 @@ static void lim_launched_rc_track_right_twist_down_to_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15772, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15796, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15775, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15799, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15778, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15802, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15781, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15805, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; @@ -817,30 +817,30 @@ static void lim_launched_rc_track_left_twist_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15766, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15790, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15769, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15793, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15760, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15784, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15763, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15787, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; @@ -858,30 +858,30 @@ static void lim_launched_rc_track_left_twist_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15765, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15789, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15768, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15792, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15759, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15783, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15762, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15786, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -897,30 +897,30 @@ static void lim_launched_rc_track_left_twist_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15764, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15788, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15767, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15791, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15758, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15782, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15761, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15785, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -954,30 +954,30 @@ static void lim_launched_rc_track_right_twist_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15778, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15802, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15781, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15805, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15772, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15796, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15775, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15799, 0, 0, 32, 20, 0, height, 0, 6, height + 44); break; @@ -995,30 +995,30 @@ static void lim_launched_rc_track_right_twist_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15777, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15801, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15780, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15804, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15771, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15795, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15774, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15798, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -1034,30 +1034,30 @@ static void lim_launched_rc_track_right_twist_up_to_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15776, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15800, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15779, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15803, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15770, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15794, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15773, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15797, 0, 0, 32, 20, 0, height, 0, 6, height + 28); break; @@ -1091,22 +1091,22 @@ static void lim_launched_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15734, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15737, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15740, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15743, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -1124,22 +1124,22 @@ static void lim_launched_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15735, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15738, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15741, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15744, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -1151,22 +1151,22 @@ static void lim_launched_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15736, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15739, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15742, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15745, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -1203,22 +1203,22 @@ static void lim_launched_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15746, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15749, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15752, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15755, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -1237,22 +1237,22 @@ static void lim_launched_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15747, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15750, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15753, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15756, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -1264,22 +1264,22 @@ static void lim_launched_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15748, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15751, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15754, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15757, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -1330,12 +1330,12 @@ static void lim_launched_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15018, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15019, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1360,22 +1360,22 @@ static void lim_launched_rc_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15702, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15703, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15704, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15705, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -1409,21 +1409,21 @@ static void lim_launched_rc_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15694, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15695, 0, 0, 2, 20, 55, height, 24, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15696, 0, 0, 2, 20, 55, height, 24, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15697, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1457,19 +1457,19 @@ static void lim_launched_rc_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15698, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15699, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15700, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15701, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; } @@ -1498,22 +1498,22 @@ static void lim_launched_rc_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15700, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15701, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15698, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15699, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; @@ -1542,22 +1542,22 @@ static void lim_launched_rc_track_90_deg_to_inverted_flat_quarter_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15722, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15725, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15728, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15731, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -1570,22 +1570,22 @@ static void lim_launched_rc_track_90_deg_to_inverted_flat_quarter_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15723, 0, 0, 2, 20, 31, height, -8, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15726, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15729, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15732, 0, 0, 2, 20, 31, height, -8, 6, height); break; @@ -1598,22 +1598,22 @@ static void lim_launched_rc_track_90_deg_to_inverted_flat_quarter_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15724, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15727, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15730, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15733, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -1647,12 +1647,12 @@ static void lim_launched_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15020, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15021, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1676,28 +1676,28 @@ static void lim_launched_rc_track_left_quarter_turn_1_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15706, 0, 0, 2, 20, 63, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15707, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15715, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15716, 0, 0, 2, 2, 63, height, 24, 24, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15709, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15717, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; @@ -1723,28 +1723,28 @@ static void lim_launched_rc_track_right_quarter_turn_1_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15710, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15718, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15719, 0, 0, 2, 2, 63, height, 24, 24, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15712, 0, 0, 2, 20, 63, height, 4, 6, height + 8); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15720, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15713, 0, 0, 2, 20, 63, height, 4, 6, height + 8); break; diff --git a/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp b/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp index 1b8fc12da4..c166bf5a8c 100644 --- a/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp @@ -32,19 +32,19 @@ static void looping_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15006, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15007, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15008, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15009, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -59,12 +59,12 @@ static void looping_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15004, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15005, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -93,7 +93,7 @@ static void looping_rc_track_station( { stationTrackNWSE, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); sub_98196C_rotated( @@ -115,19 +115,19 @@ static void looping_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15060, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15061, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15062, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15063, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -141,19 +141,19 @@ static void looping_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15032, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15033, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15034, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15035, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -185,19 +185,19 @@ static void looping_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15076, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15077, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15078, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15079, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -211,19 +211,19 @@ static void looping_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15048, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15049, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15050, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15051, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -255,19 +255,19 @@ static void looping_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15052, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15053, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15054, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15055, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -281,19 +281,19 @@ static void looping_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15024, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15025, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15026, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15027, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -325,23 +325,23 @@ static void looping_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15064, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15065, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15068, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15066, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15069, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15067, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -355,23 +355,23 @@ static void looping_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15036, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15037, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15040, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15038, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15041, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15039, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -403,23 +403,23 @@ static void looping_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15070, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15071, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15074, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15072, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15075, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15073, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -433,23 +433,23 @@ static void looping_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15042, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15043, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15046, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15044, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15047, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15045, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -481,19 +481,19 @@ static void looping_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15056, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15057, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15058, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15059, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -507,19 +507,19 @@ static void looping_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15028, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15029, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15030, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15031, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -600,19 +600,19 @@ static void looping_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15183, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15188, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15193, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15178, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -632,20 +632,20 @@ static void looping_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15182, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15187, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15192, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15177, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -661,22 +661,22 @@ static void looping_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15181, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15186, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15191, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15176, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -691,20 +691,20 @@ static void looping_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15180, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15185, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15190, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15175, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -720,19 +720,19 @@ static void looping_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15179, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15184, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15189, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15174, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -770,23 +770,23 @@ static void looping_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15080, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15092, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15081, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15093, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15082, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15083, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -808,23 +808,23 @@ static void looping_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15084, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15085, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15086, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15094, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15087, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15095, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -846,23 +846,23 @@ static void looping_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15086, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15094, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15087, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15095, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15084, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15085, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -884,23 +884,23 @@ static void looping_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15082, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15083, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15080, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15092, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15081, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15093, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -925,23 +925,23 @@ static void looping_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15203, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15214, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15208, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15213, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15198, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -961,21 +961,21 @@ static void looping_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15202, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15207, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15212, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15197, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -991,22 +991,22 @@ static void looping_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15201, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15206, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15211, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15196, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -1021,21 +1021,21 @@ static void looping_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15200, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15205, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15210, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15195, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1051,23 +1051,23 @@ static void looping_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15199, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15204, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15209, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15215, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15194, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1105,23 +1105,23 @@ static void looping_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15096, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15112, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15097, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15113, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15098, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15099, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1150,23 +1150,23 @@ static void looping_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15100, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15101, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15102, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15114, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15103, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15115, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1195,23 +1195,23 @@ static void looping_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15104, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15116, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15105, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15117, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15106, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15107, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1240,23 +1240,23 @@ static void looping_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15108, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15109, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15110, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15118, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15111, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15119, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -1317,19 +1317,19 @@ static void looping_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15088, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15089, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15090, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15091, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1362,19 +1362,19 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15296, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15301, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15306, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15311, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1402,12 +1402,12 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15302, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15307, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15312, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1423,17 +1423,17 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15298, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15303, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15308, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1453,7 +1453,7 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15299, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1466,7 +1466,7 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15309, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15314, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1482,19 +1482,19 @@ static void looping_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15300, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15305, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15310, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15315, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1526,19 +1526,19 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15276, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15281, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15286, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15291, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1558,12 +1558,12 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15277, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15282, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1591,17 +1591,17 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15278, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15283, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15288, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15293, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -1617,7 +1617,7 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15279, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1630,7 +1630,7 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15289, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15294, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1646,19 +1646,19 @@ static void looping_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15280, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15285, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15290, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15295, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -1709,19 +1709,19 @@ static void looping_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15260, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15264, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15263, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15267, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1750,11 +1750,11 @@ static void looping_rc_track_s_bend_left( session, METAL_SUPPORTS_TUBES, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15262, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15266, 0, 0, 32, 26, 3, height, 0, 6, height); break; } @@ -1769,11 +1769,11 @@ static void looping_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15262, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15266, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 2: @@ -1800,19 +1800,19 @@ static void looping_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15263, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15267, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15260, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15264, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1844,19 +1844,19 @@ static void looping_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15268, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15272, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15271, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15275, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1873,13 +1873,13 @@ static void looping_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15269, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15273, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1912,13 +1912,13 @@ static void looping_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 15274, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15269, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15273, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1935,19 +1935,19 @@ static void looping_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15271, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15275, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15268, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15272, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2037,42 +2037,42 @@ static void looping_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15350, 16, 0, 3, 16, 119, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 1, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15364, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15358, 12, 0, 3, 16, 119, height, 12, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 0, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15366, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15353, 10, 16, 4, 16, 119, height, 10, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 2, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15365, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15361, 16, 16, 2, 16, 119, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 3, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15367, 16, 16, 2, 16, 119, height, 16, 16, height); break; @@ -2145,42 +2145,42 @@ static void looping_rc_track_left_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15353, 10, 16, 4, 16, 119, height, 10, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 2, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15365, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15361, 16, 16, 2, 16, 119, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 3, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15367, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15350, 16, 0, 3, 16, 119, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 1, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15364, 16, 0, 3, 16, 119, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15358, 12, 0, 3, 16, 119, height, 12, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 0, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15366, 12, 0, 3, 16, 119, height, 12, 0, height); break; @@ -2314,42 +2314,42 @@ static void looping_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15381, 16, 16, 2, 16, 119, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 3, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15384, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15373, 10, 16, 4, 16, 119, height, 10, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 1, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15386, 10, 16, 4, 16, 119, height, 10, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15378, 12, 0, 3, 16, 119, height, 12, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 0, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15385, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15370, 16, 0, 2, 16, 119, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 2, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15387, 16, 0, 2, 16, 119, height, 16, 0, height); break; @@ -2410,42 +2410,42 @@ static void looping_rc_track_right_vertical_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15378, 12, 0, 3, 16, 119, height, 12, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 0, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15385, 12, 0, 3, 16, 119, height, 12, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15370, 16, 0, 2, 16, 119, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 2, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15387, 16, 0, 2, 16, 119, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15381, 16, 16, 2, 16, 119, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 3, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15384, 16, 16, 2, 16, 119, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15373, 10, 16, 4, 16, 119, height, 10, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 1, 0, height - 8, session->TrackColours[SCHEME_TRACK]); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15386, 10, 16, 4, 16, 119, height, 10, 16, height); break; @@ -2521,19 +2521,19 @@ static void looping_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15125, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15128, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15131, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15122, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2553,21 +2553,21 @@ static void looping_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15124, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15127, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15130, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15121, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2580,19 +2580,19 @@ static void looping_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15123, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15126, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15129, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15120, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2633,23 +2633,23 @@ static void looping_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15137, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15144, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15140, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15143, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15134, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2669,22 +2669,22 @@ static void looping_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15136, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15139, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15142, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15133, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2697,23 +2697,23 @@ static void looping_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15135, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15138, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15141, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15145, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15132, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2938,23 +2938,23 @@ static void looping_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15165, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15172, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15168, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15171, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15162, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2975,22 +2975,22 @@ static void looping_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15164, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15167, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15170, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15161, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3003,23 +3003,23 @@ static void looping_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15163, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15166, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15169, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15173, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15160, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3042,23 +3042,23 @@ static void looping_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15162, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15165, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15172, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15168, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15171, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3084,22 +3084,22 @@ static void looping_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15161, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15164, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15167, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15170, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3112,22 +3112,22 @@ static void looping_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15160, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15163, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15166, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15169, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15173, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3156,22 +3156,22 @@ static void looping_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15146, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15149, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15152, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15155, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15159, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3193,22 +3193,22 @@ static void looping_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15147, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15150, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15153, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15156, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3221,23 +3221,23 @@ static void looping_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15148, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15151, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15158, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15154, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15157, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3260,23 +3260,23 @@ static void looping_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15149, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15152, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15155, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15159, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15146, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3302,22 +3302,22 @@ static void looping_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15150, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15153, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15156, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15147, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3330,23 +3330,23 @@ static void looping_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15151, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15158, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15154, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15157, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15148, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3404,23 +3404,23 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15247, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15258, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15252, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15257, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15242, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3441,21 +3441,21 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15246, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15251, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15256, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15241, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3471,22 +3471,22 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15245, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15250, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15255, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15240, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3501,21 +3501,21 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15244, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15249, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15254, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15239, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3531,23 +3531,23 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15243, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15248, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15253, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15259, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15238, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3570,23 +3570,23 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15242, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15247, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15258, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15252, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15257, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3612,21 +3612,21 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15241, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15246, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15251, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15256, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3642,21 +3642,21 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15240, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15245, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15250, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15255, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3672,22 +3672,22 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15239, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15244, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15249, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15254, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3702,22 +3702,22 @@ static void looping_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15238, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15243, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15248, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15253, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15259, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3746,22 +3746,22 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15216, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15221, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15226, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15231, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15237, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3783,22 +3783,22 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15217, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15222, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15227, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15232, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3813,21 +3813,21 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15218, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15223, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15228, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15233, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3843,21 +3843,21 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15219, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15224, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15229, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15234, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3873,23 +3873,23 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15220, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15225, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15236, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15230, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15235, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3912,23 +3912,23 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15221, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15226, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15231, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15237, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15216, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3954,21 +3954,21 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15222, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15227, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15232, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15217, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3984,22 +3984,22 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15223, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15228, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15233, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15218, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4014,21 +4014,21 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15224, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15229, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15234, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15219, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4044,23 +4044,23 @@ static void looping_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15225, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15236, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15230, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15235, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15220, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4115,27 +4115,27 @@ static void looping_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15341, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15345, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15342, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15346, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15343, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15347, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15340, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15344, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4152,27 +4152,27 @@ static void looping_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15332, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15336, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15333, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15337, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15334, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15338, 0, 0, 2, 28, 59, height, 28, 2, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15335, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15339, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4207,16 +4207,16 @@ static void looping_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15012, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15014, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15013, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15015, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -4238,19 +4238,19 @@ static void looping_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15594, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15595, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15596, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15597, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4279,19 +4279,19 @@ static void looping_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15598, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15599, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15600, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15601, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4324,7 +4324,7 @@ static void looping_rc_track_on_ride_photo( session, direction, session->TrackColours[SCHEME_MISC] | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15004, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: @@ -4332,7 +4332,7 @@ static void looping_rc_track_on_ride_photo( session, direction, session->TrackColours[SCHEME_MISC] | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15005, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: @@ -4340,7 +4340,7 @@ static void looping_rc_track_on_ride_photo( session, direction, session->TrackColours[SCHEME_MISC] | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15004, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: @@ -4348,7 +4348,7 @@ static void looping_rc_track_on_ride_photo( session, direction, session->TrackColours[SCHEME_MISC] | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15005, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -4385,19 +4385,19 @@ static void looping_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15526, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15530, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15534, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15538, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4414,20 +4414,20 @@ static void looping_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15527, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15531, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15535, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15539, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4443,22 +4443,22 @@ static void looping_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15528, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15532, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15536, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15540, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4476,27 +4476,27 @@ static void looping_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15529, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15533, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15537, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15541, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4524,19 +4524,19 @@ static void looping_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15510, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15514, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15518, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15522, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4553,21 +4553,21 @@ static void looping_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15511, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15515, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15519, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15523, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4582,20 +4582,20 @@ static void looping_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15512, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15516, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15520, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15524, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4614,27 +4614,27 @@ static void looping_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15513, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15517, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15521, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15525, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -4680,21 +4680,21 @@ static void looping_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15558, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15562, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15566, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15570, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4711,21 +4711,21 @@ static void looping_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15559, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15563, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15567, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15571, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4741,22 +4741,22 @@ static void looping_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15560, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15564, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15568, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15572, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4774,27 +4774,27 @@ static void looping_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15561, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15565, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15569, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15573, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4822,20 +4822,20 @@ static void looping_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15542, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15546, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15550, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15554, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4853,22 +4853,22 @@ static void looping_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15543, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15547, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15551, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15555, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4883,21 +4883,21 @@ static void looping_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15544, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15548, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15552, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15556, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4916,27 +4916,27 @@ static void looping_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15545, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15549, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15553, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15557, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -4984,7 +4984,7 @@ static void looping_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15451, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4995,7 +4995,7 @@ static void looping_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15423, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5011,7 +5011,7 @@ static void looping_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15448, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5022,7 +5022,7 @@ static void looping_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15420, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5038,7 +5038,7 @@ static void looping_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15450, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5049,7 +5049,7 @@ static void looping_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15422, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5069,7 +5069,7 @@ static void looping_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15449, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5094,7 +5094,7 @@ static void looping_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15421, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5130,7 +5130,7 @@ static void looping_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15463, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5141,7 +5141,7 @@ static void looping_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15435, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5157,7 +5157,7 @@ static void looping_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15460, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5168,7 +5168,7 @@ static void looping_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15432, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5184,7 +5184,7 @@ static void looping_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15462, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5195,7 +5195,7 @@ static void looping_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15434, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5215,7 +5215,7 @@ static void looping_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15461, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5240,7 +5240,7 @@ static void looping_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15433, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5276,7 +5276,7 @@ static void looping_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15475, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5287,7 +5287,7 @@ static void looping_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15447, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5303,7 +5303,7 @@ static void looping_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15472, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5314,7 +5314,7 @@ static void looping_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15444, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5330,7 +5330,7 @@ static void looping_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15474, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5341,7 +5341,7 @@ static void looping_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15446, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5361,7 +5361,7 @@ static void looping_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 36, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15473, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5386,7 +5386,7 @@ static void looping_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 36, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15445, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5422,7 +5422,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15455, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5433,7 +5433,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15427, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5449,7 +5449,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15452, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5460,7 +5460,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15424, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5476,7 +5476,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15454, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5487,7 +5487,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15426, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5507,7 +5507,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15453, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5532,7 +5532,7 @@ static void looping_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15425, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5568,7 +5568,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15467, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5579,7 +5579,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15439, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5595,7 +5595,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15464, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5606,7 +5606,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15436, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5622,7 +5622,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15466, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5633,7 +5633,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15438, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5653,7 +5653,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15465, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5678,7 +5678,7 @@ static void looping_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15437, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5714,7 +5714,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15471, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5725,7 +5725,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15443, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5741,7 +5741,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15468, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5752,7 +5752,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15440, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5768,7 +5768,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15470, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5779,7 +5779,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15442, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5799,7 +5799,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15469, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -5824,7 +5824,7 @@ static void looping_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15441, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -5860,7 +5860,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15459, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5871,7 +5871,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15431, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5887,7 +5887,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15456, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5898,7 +5898,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15428, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5914,7 +5914,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15458, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5925,7 +5925,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15430, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5945,7 +5945,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15457, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5970,7 +5970,7 @@ static void looping_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15429, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6006,7 +6006,7 @@ static void looping_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15461, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6017,7 +6017,7 @@ static void looping_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15433, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6033,7 +6033,7 @@ static void looping_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15462, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6044,7 +6044,7 @@ static void looping_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15434, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6060,7 +6060,7 @@ static void looping_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15460, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6071,7 +6071,7 @@ static void looping_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15432, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6091,7 +6091,7 @@ static void looping_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15463, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6116,7 +6116,7 @@ static void looping_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15435, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6152,7 +6152,7 @@ static void looping_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15473, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6163,7 +6163,7 @@ static void looping_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15445, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6179,7 +6179,7 @@ static void looping_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15474, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6190,7 +6190,7 @@ static void looping_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15446, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6206,7 +6206,7 @@ static void looping_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15472, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6217,7 +6217,7 @@ static void looping_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15444, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6237,7 +6237,7 @@ static void looping_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 28, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15475, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6262,7 +6262,7 @@ static void looping_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 28, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15447, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6298,7 +6298,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15457, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6309,7 +6309,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15429, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6324,7 +6324,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15458, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6335,7 +6335,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15430, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6350,7 +6350,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15456, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6361,7 +6361,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15428, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6380,7 +6380,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15459, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6405,7 +6405,7 @@ static void looping_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15431, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6442,7 +6442,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15469, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6453,7 +6453,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15441, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6469,7 +6469,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15470, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6480,7 +6480,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15442, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6496,7 +6496,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15468, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6507,7 +6507,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15440, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6527,7 +6527,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15471, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6552,7 +6552,7 @@ static void looping_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15443, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6588,7 +6588,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15465, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6599,7 +6599,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15437, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6615,7 +6615,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15466, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6626,7 +6626,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15438, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6642,7 +6642,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15464, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6653,7 +6653,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15436, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6673,7 +6673,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15467, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6698,7 +6698,7 @@ static void looping_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15439, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6734,7 +6734,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15453, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6745,7 +6745,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15425, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6761,7 +6761,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15454, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6772,7 +6772,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15426, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6788,7 +6788,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15452, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6799,7 +6799,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15424, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6819,7 +6819,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15455, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6844,7 +6844,7 @@ static void looping_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15427, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6878,7 +6878,7 @@ static void looping_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15503, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6891,10 +6891,10 @@ static void looping_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15500, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15504, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6907,7 +6907,7 @@ static void looping_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15502, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6924,7 +6924,7 @@ static void looping_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15501, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6957,7 +6957,7 @@ static void looping_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15508, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6970,7 +6970,7 @@ static void looping_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15505, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6983,10 +6983,10 @@ static void looping_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15507, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15509, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7003,7 +7003,7 @@ static void looping_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15506, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7036,7 +7036,7 @@ static void looping_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15506, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7049,10 +7049,10 @@ static void looping_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15507, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15509, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7065,7 +7065,7 @@ static void looping_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15505, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7082,7 +7082,7 @@ static void looping_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15508, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7115,7 +7115,7 @@ static void looping_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15501, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7128,7 +7128,7 @@ static void looping_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15502, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7141,10 +7141,10 @@ static void looping_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15500, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15504, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7161,7 +7161,7 @@ static void looping_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15503, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7194,7 +7194,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15493, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7207,10 +7207,10 @@ static void looping_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15490, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15494, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7223,7 +7223,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15492, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7240,7 +7240,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15491, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7273,7 +7273,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15498, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7286,7 +7286,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15495, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7299,10 +7299,10 @@ static void looping_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15497, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15499, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7319,7 +7319,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15496, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7352,7 +7352,7 @@ static void looping_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15483, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7365,10 +7365,10 @@ static void looping_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15480, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15484, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7381,7 +7381,7 @@ static void looping_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15482, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7398,7 +7398,7 @@ static void looping_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15481, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7431,7 +7431,7 @@ static void looping_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15488, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7444,7 +7444,7 @@ static void looping_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15485, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7457,10 +7457,10 @@ static void looping_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15487, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15489, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7477,7 +7477,7 @@ static void looping_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15486, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7510,7 +7510,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15486, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7522,10 +7522,10 @@ static void looping_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15487, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15489, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7537,7 +7537,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15485, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7553,7 +7553,7 @@ static void looping_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15488, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7587,7 +7587,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15481, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7599,7 +7599,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15482, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7611,10 +7611,10 @@ static void looping_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15480, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15484, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7630,7 +7630,7 @@ static void looping_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15483, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7664,7 +7664,7 @@ static void looping_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15496, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7677,10 +7677,10 @@ static void looping_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15497, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15499, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7693,7 +7693,7 @@ static void looping_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15495, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7710,7 +7710,7 @@ static void looping_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15498, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7743,7 +7743,7 @@ static void looping_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15491, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7756,7 +7756,7 @@ static void looping_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15492, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7769,10 +7769,10 @@ static void looping_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15490, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15494, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7789,7 +7789,7 @@ static void looping_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15493, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7822,7 +7822,7 @@ static void looping_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15479, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7835,7 +7835,7 @@ static void looping_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15476, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7848,7 +7848,7 @@ static void looping_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15478, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7865,7 +7865,7 @@ static void looping_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15477, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7898,7 +7898,7 @@ static void looping_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15477, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7911,7 +7911,7 @@ static void looping_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15478, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7924,7 +7924,7 @@ static void looping_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15476, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7941,7 +7941,7 @@ static void looping_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15479, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7972,16 +7972,16 @@ static void looping_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15012, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15014, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15013, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15015, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -8010,7 +8010,7 @@ static void looping_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15689, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15691, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -8046,12 +8046,12 @@ static void looping_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15688, 6, 0, 20, 32, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15690, 6, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15692, 6, 0, 1, 32, 34, height, 27, 0, height); break; @@ -8096,7 +8096,7 @@ static void looping_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15680, 0, 6, 32, 20, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15682, 0, 6, 32, 1, 34, height, 0, 27, height); break; @@ -8130,14 +8130,14 @@ static void looping_rc_track_right_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_TUBES, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15681, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15683, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( @@ -8197,20 +8197,20 @@ static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15658, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15663, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15668, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15673, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8234,17 +8234,17 @@ static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15659, 0, 0, 32, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15664, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15669, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15674, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -8260,17 +8260,17 @@ static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15660, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15665, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15670, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -8290,22 +8290,22 @@ static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15661, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15666, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15671, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15676, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -8321,21 +8321,21 @@ static void looping_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15662, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15667, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15672, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15677, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -8367,20 +8367,20 @@ static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15638, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15643, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15648, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15653, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8400,17 +8400,17 @@ static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15639, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15644, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15649, 0, 0, 1, 1, 34, height, 30, 30, height); break; @@ -8434,17 +8434,17 @@ static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 15640, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15645, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15650, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15655, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -8460,22 +8460,22 @@ static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15641, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15646, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15651, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15656, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -8491,21 +8491,21 @@ static void looping_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15642, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15647, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15652, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15657, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -8554,21 +8554,21 @@ static void looping_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15602, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15603, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15610, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15604, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15605, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8597,21 +8597,21 @@ static void looping_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15606, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15607, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15608, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15611, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15609, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8640,21 +8640,21 @@ static void looping_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15612, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15613, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15620, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15614, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15615, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8683,21 +8683,21 @@ static void looping_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15616, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15617, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15618, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15621, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15619, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8762,19 +8762,19 @@ static void looping_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15622, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15623, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15624, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15625, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8803,19 +8803,19 @@ static void looping_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15626, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15627, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15628, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15629, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8844,19 +8844,19 @@ static void looping_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15630, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15631, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15632, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15633, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8885,19 +8885,19 @@ static void looping_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15634, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15635, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15636, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15637, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -8962,21 +8962,21 @@ static void looping_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15574, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15575, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15582, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15576, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15577, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9005,21 +9005,21 @@ static void looping_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15578, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15579, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15580, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15583, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15581, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9048,21 +9048,21 @@ static void looping_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15584, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15585, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15592, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15586, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15587, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9091,21 +9091,21 @@ static void looping_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15588, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15589, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15590, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15593, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15591, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -9174,13 +9174,13 @@ static void looping_rc_track_booster( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | LOOPING_RC_BOOSTER_NE_SW, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | LOOPING_RC_BOOSTER_NW_SE, 0, 0, 32, 20, 3, height, 0, 6, height); break; diff --git a/src/openrct2/ride/coaster/MineRide.cpp b/src/openrct2/ride/coaster/MineRide.cpp index 11c2a4e61c..0b09a84bcc 100644 --- a/src/openrct2/ride/coaster/MineRide.cpp +++ b/src/openrct2/ride/coaster/MineRide.cpp @@ -28,7 +28,7 @@ static void mine_ride_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19338, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -38,7 +38,7 @@ static void mine_ride_track_flat( break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19339, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -64,7 +64,7 @@ static void mine_ride_track_station( { 19339, SPR_STATION_BASE_A_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); sub_98196C_rotated( @@ -84,7 +84,7 @@ static void mine_ride_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19388, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -93,7 +93,7 @@ static void mine_ride_track_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19389, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -102,7 +102,7 @@ static void mine_ride_track_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19390, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -111,7 +111,7 @@ static void mine_ride_track_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19391, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -141,7 +141,7 @@ static void mine_ride_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19380, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -150,7 +150,7 @@ static void mine_ride_track_flat_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19381, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -159,7 +159,7 @@ static void mine_ride_track_flat_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19382, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -168,7 +168,7 @@ static void mine_ride_track_flat_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19383, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -198,7 +198,7 @@ static void mine_ride_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19384, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -207,7 +207,7 @@ static void mine_ride_track_25_deg_up_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19385, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -216,7 +216,7 @@ static void mine_ride_track_25_deg_up_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19386, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -225,7 +225,7 @@ static void mine_ride_track_25_deg_up_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19387, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -282,25 +282,25 @@ static void mine_ride_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19427, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19432, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19437, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19422, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -321,20 +321,20 @@ static void mine_ride_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19426, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19431, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19436, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19421, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -350,22 +350,22 @@ static void mine_ride_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19425, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19430, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19435, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19420, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -380,20 +380,20 @@ static void mine_ride_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19424, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19429, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19434, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19419, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -409,25 +409,25 @@ static void mine_ride_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19423, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19428, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19433, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19418, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -466,9 +466,9 @@ static void mine_ride_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19340, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19348, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -477,9 +477,9 @@ static void mine_ride_track_flat_to_left_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19341, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19349, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -488,7 +488,7 @@ static void mine_ride_track_flat_to_left_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19342, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -497,7 +497,7 @@ static void mine_ride_track_flat_to_left_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19343, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -520,7 +520,7 @@ static void mine_ride_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19344, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -529,7 +529,7 @@ static void mine_ride_track_flat_to_right_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19345, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -538,9 +538,9 @@ static void mine_ride_track_flat_to_right_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19346, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19350, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -549,9 +549,9 @@ static void mine_ride_track_flat_to_right_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19347, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19351, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -574,9 +574,9 @@ static void mine_ride_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19346, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19350, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -585,9 +585,9 @@ static void mine_ride_track_left_bank_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19347, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19351, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -596,7 +596,7 @@ static void mine_ride_track_left_bank_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19344, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -605,7 +605,7 @@ static void mine_ride_track_left_bank_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19345, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -628,7 +628,7 @@ static void mine_ride_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19342, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -637,7 +637,7 @@ static void mine_ride_track_right_bank_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19343, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -646,9 +646,9 @@ static void mine_ride_track_right_bank_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19340, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19348, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -657,9 +657,9 @@ static void mine_ride_track_right_bank_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19341, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19349, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -685,29 +685,29 @@ static void mine_ride_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19447, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19458, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19452, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19457, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19442, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -728,21 +728,21 @@ static void mine_ride_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19446, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19451, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19456, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19441, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -758,22 +758,22 @@ static void mine_ride_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19445, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19450, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19455, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19440, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -788,21 +788,21 @@ static void mine_ride_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19444, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19449, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19454, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19439, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -818,29 +818,29 @@ static void mine_ride_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19443, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19448, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19453, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19459, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19438, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -879,9 +879,9 @@ static void mine_ride_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19352, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19356, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -890,9 +890,9 @@ static void mine_ride_track_left_bank_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19353, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19357, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -901,7 +901,7 @@ static void mine_ride_track_left_bank_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19354, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -910,7 +910,7 @@ static void mine_ride_track_left_bank_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19355, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -940,7 +940,7 @@ static void mine_ride_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19358, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -949,7 +949,7 @@ static void mine_ride_track_right_bank_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19359, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -958,9 +958,9 @@ static void mine_ride_track_right_bank_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19360, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19362, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -969,9 +969,9 @@ static void mine_ride_track_right_bank_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19361, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19363, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1001,9 +1001,9 @@ static void mine_ride_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19364, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19368, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1012,9 +1012,9 @@ static void mine_ride_track_25_deg_up_to_left_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19365, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19369, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1023,7 +1023,7 @@ static void mine_ride_track_25_deg_up_to_left_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19366, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1032,7 +1032,7 @@ static void mine_ride_track_25_deg_up_to_left_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19367, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1062,7 +1062,7 @@ static void mine_ride_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19370, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1071,7 +1071,7 @@ static void mine_ride_track_25_deg_up_to_right_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19371, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1080,9 +1080,9 @@ static void mine_ride_track_25_deg_up_to_right_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19372, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19374, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1091,9 +1091,9 @@ static void mine_ride_track_25_deg_up_to_right_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19373, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19375, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1155,7 +1155,7 @@ static void mine_ride_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19376, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1164,7 +1164,7 @@ static void mine_ride_track_left_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19377, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1173,7 +1173,7 @@ static void mine_ride_track_left_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19378, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1182,7 +1182,7 @@ static void mine_ride_track_left_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19379, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1216,25 +1216,25 @@ static void mine_ride_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19460, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19464, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19463, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19467, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1264,11 +1264,11 @@ static void mine_ride_track_s_bend_left( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19462, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19466, 0, 0, 32, 26, 3, height, 0, 6, height); break; } @@ -1283,11 +1283,11 @@ static void mine_ride_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19462, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19466, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 2: @@ -1314,25 +1314,25 @@ static void mine_ride_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19463, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19467, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19460, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19464, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1365,25 +1365,25 @@ static void mine_ride_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19468, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19472, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19471, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19475, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1401,13 +1401,13 @@ static void mine_ride_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19469, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19473, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1440,13 +1440,13 @@ static void mine_ride_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 19474, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19469, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19473, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1463,25 +1463,25 @@ static void mine_ride_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19471, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19475, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19468, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19472, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1514,25 +1514,25 @@ static void mine_ride_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19397, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19400, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19403, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19394, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1553,21 +1553,21 @@ static void mine_ride_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19396, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19399, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19402, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19393, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -1580,25 +1580,25 @@ static void mine_ride_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19395, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19398, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19401, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19392, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1640,29 +1640,29 @@ static void mine_ride_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19409, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19416, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19412, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19415, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19406, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1683,22 +1683,22 @@ static void mine_ride_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19408, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19411, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19414, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19405, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -1711,29 +1711,29 @@ static void mine_ride_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19407, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19410, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19413, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19417, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19404, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1775,29 +1775,29 @@ static void mine_ride_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19495, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19502, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19498, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19501, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19492, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1819,22 +1819,22 @@ static void mine_ride_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19494, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19497, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19500, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19491, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -1847,29 +1847,29 @@ static void mine_ride_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19493, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19496, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19499, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19503, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19490, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1893,29 +1893,29 @@ static void mine_ride_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19492, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19495, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19502, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19498, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19501, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1942,22 +1942,22 @@ static void mine_ride_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19491, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19494, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19497, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19500, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1970,28 +1970,28 @@ static void mine_ride_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19490, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19493, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19496, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19499, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19503, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -2021,28 +2021,28 @@ static void mine_ride_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19476, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19479, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19482, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 9, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19485, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19489, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -2065,22 +2065,22 @@ static void mine_ride_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19477, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19480, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19483, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19486, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -2093,29 +2093,29 @@ static void mine_ride_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19478, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19481, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19488, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19484, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19487, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2139,29 +2139,29 @@ static void mine_ride_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19479, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19482, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 9, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19485, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19489, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 11, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19476, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2188,22 +2188,22 @@ static void mine_ride_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19480, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19483, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19486, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19477, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2216,29 +2216,29 @@ static void mine_ride_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19481, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19488, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19484, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19487, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19478, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2297,29 +2297,29 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19535, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19546, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19540, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19545, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19530, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2341,21 +2341,21 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19534, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19539, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19544, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19529, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -2371,22 +2371,22 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19533, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19538, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19543, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19528, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -2401,21 +2401,21 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19532, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19537, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19542, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19527, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2431,29 +2431,29 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19531, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19536, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19541, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19547, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19526, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2477,29 +2477,29 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19530, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19535, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19546, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19540, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19545, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2526,21 +2526,21 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19529, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19534, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19539, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19544, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2556,21 +2556,21 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19528, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19533, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19538, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19543, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -2586,22 +2586,22 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19527, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19532, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19537, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19542, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -2616,28 +2616,28 @@ static void mine_ride_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19526, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19531, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19536, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19541, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19547, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -2667,28 +2667,28 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19504, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19509, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19514, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19519, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19525, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -2711,22 +2711,22 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19505, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19510, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19515, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19520, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -2741,21 +2741,21 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19506, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19511, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19516, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19521, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -2771,21 +2771,21 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19507, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19512, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19517, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19522, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2801,29 +2801,29 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19508, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19513, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19524, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19518, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19523, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2847,29 +2847,29 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19509, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19514, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19519, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19525, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19504, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2896,21 +2896,21 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19510, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19515, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19520, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19505, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -2926,22 +2926,22 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19511, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19516, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19521, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19506, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -2956,21 +2956,21 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19512, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19517, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19522, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19507, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -2986,29 +2986,29 @@ static void mine_ride_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19513, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19524, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19518, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19523, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19508, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3067,7 +3067,7 @@ static void mine_ride_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19338, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: @@ -3076,14 +3076,14 @@ static void mine_ride_track_on_ride_photo( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19339, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19338, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: @@ -3092,7 +3092,7 @@ static void mine_ride_track_on_ride_photo( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19339, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -3113,25 +3113,25 @@ static void mine_ride_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19564, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19568, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19572, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19576, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3149,20 +3149,20 @@ static void mine_ride_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19565, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19569, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19573, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19577, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3178,22 +3178,22 @@ static void mine_ride_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19566, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19570, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19574, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19578, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3211,27 +3211,27 @@ static void mine_ride_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19567, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 3, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19571, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19575, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19579, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -3259,25 +3259,25 @@ static void mine_ride_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19548, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19552, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19556, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19560, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3295,21 +3295,21 @@ static void mine_ride_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19549, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19553, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19557, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19561, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3324,20 +3324,20 @@ static void mine_ride_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19550, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19554, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19558, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19562, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3356,27 +3356,27 @@ static void mine_ride_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19551, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19555, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19559, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 2, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19563, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -3422,27 +3422,27 @@ static void mine_ride_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19596, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19600, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19604, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19608, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3460,21 +3460,21 @@ static void mine_ride_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19597, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19601, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19605, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19609, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3490,22 +3490,22 @@ static void mine_ride_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19598, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19602, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19606, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19610, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3523,27 +3523,27 @@ static void mine_ride_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19599, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 3, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19603, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19607, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19611, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -3571,26 +3571,26 @@ static void mine_ride_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19580, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19584, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19588, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19592, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -3609,22 +3609,22 @@ static void mine_ride_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19581, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19585, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19589, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19593, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3639,21 +3639,21 @@ static void mine_ride_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19582, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19586, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19590, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19594, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3672,27 +3672,27 @@ static void mine_ride_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19583, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19587, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19591, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 2, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19595, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -3738,7 +3738,7 @@ static void mine_ride_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19615, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3751,7 +3751,7 @@ static void mine_ride_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19612, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3764,7 +3764,7 @@ static void mine_ride_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19614, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3781,7 +3781,7 @@ static void mine_ride_track_diag_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19613, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -3814,7 +3814,7 @@ static void mine_ride_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19627, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3827,7 +3827,7 @@ static void mine_ride_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19624, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3840,7 +3840,7 @@ static void mine_ride_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19626, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3857,7 +3857,7 @@ static void mine_ride_track_diag_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19625, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -3890,7 +3890,7 @@ static void mine_ride_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19619, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3903,7 +3903,7 @@ static void mine_ride_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19616, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3916,7 +3916,7 @@ static void mine_ride_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19618, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3933,7 +3933,7 @@ static void mine_ride_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19617, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -3966,7 +3966,7 @@ static void mine_ride_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19623, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3979,7 +3979,7 @@ static void mine_ride_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19620, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -3992,7 +3992,7 @@ static void mine_ride_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19622, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4009,7 +4009,7 @@ static void mine_ride_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19621, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4042,7 +4042,7 @@ static void mine_ride_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19625, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4055,7 +4055,7 @@ static void mine_ride_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19626, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4068,7 +4068,7 @@ static void mine_ride_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19624, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4085,7 +4085,7 @@ static void mine_ride_track_diag_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19627, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4118,7 +4118,7 @@ static void mine_ride_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19621, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4130,7 +4130,7 @@ static void mine_ride_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19622, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4142,7 +4142,7 @@ static void mine_ride_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19620, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4158,7 +4158,7 @@ static void mine_ride_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19623, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4192,7 +4192,7 @@ static void mine_ride_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19617, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4205,7 +4205,7 @@ static void mine_ride_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19618, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4218,7 +4218,7 @@ static void mine_ride_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19616, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4235,7 +4235,7 @@ static void mine_ride_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19619, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4268,7 +4268,7 @@ static void mine_ride_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19635, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4281,10 +4281,10 @@ static void mine_ride_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19632, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19636, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -4297,7 +4297,7 @@ static void mine_ride_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19634, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4314,7 +4314,7 @@ static void mine_ride_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19633, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -4347,7 +4347,7 @@ static void mine_ride_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19640, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4360,7 +4360,7 @@ static void mine_ride_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19637, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4373,10 +4373,10 @@ static void mine_ride_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19639, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19641, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -4393,7 +4393,7 @@ static void mine_ride_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19638, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -4426,7 +4426,7 @@ static void mine_ride_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19638, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4439,10 +4439,10 @@ static void mine_ride_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19639, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19641, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -4455,7 +4455,7 @@ static void mine_ride_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19637, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4472,7 +4472,7 @@ static void mine_ride_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19640, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -4505,7 +4505,7 @@ static void mine_ride_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19633, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4518,7 +4518,7 @@ static void mine_ride_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19634, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4531,10 +4531,10 @@ static void mine_ride_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19632, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19636, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -4551,7 +4551,7 @@ static void mine_ride_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19635, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -4584,7 +4584,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19655, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4597,10 +4597,10 @@ static void mine_ride_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19652, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19656, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -4613,7 +4613,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19654, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4630,7 +4630,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19653, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4663,7 +4663,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19660, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4676,7 +4676,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19657, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4689,10 +4689,10 @@ static void mine_ride_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19659, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19661, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -4709,7 +4709,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19658, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4742,7 +4742,7 @@ static void mine_ride_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19645, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4755,10 +4755,10 @@ static void mine_ride_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19642, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19646, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -4771,7 +4771,7 @@ static void mine_ride_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19644, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4788,7 +4788,7 @@ static void mine_ride_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19643, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4821,7 +4821,7 @@ static void mine_ride_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19650, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4834,7 +4834,7 @@ static void mine_ride_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19647, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4847,10 +4847,10 @@ static void mine_ride_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19649, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19651, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -4867,7 +4867,7 @@ static void mine_ride_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19648, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4900,7 +4900,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19648, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4912,10 +4912,10 @@ static void mine_ride_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19649, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19651, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -4927,7 +4927,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19647, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4943,7 +4943,7 @@ static void mine_ride_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19650, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -4977,7 +4977,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19643, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4989,7 +4989,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19644, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5001,10 +5001,10 @@ static void mine_ride_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19642, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19646, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -5020,7 +5020,7 @@ static void mine_ride_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19645, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5054,7 +5054,7 @@ static void mine_ride_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19658, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5067,10 +5067,10 @@ static void mine_ride_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19659, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19661, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -5083,7 +5083,7 @@ static void mine_ride_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19657, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5100,7 +5100,7 @@ static void mine_ride_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19660, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5133,7 +5133,7 @@ static void mine_ride_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19653, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5146,7 +5146,7 @@ static void mine_ride_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19654, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5159,10 +5159,10 @@ static void mine_ride_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19652, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19656, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -5179,7 +5179,7 @@ static void mine_ride_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19655, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5212,7 +5212,7 @@ static void mine_ride_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19631, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5225,7 +5225,7 @@ static void mine_ride_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19628, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -5238,7 +5238,7 @@ static void mine_ride_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19630, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5255,7 +5255,7 @@ static void mine_ride_track_diag_left_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19629, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5288,7 +5288,7 @@ static void mine_ride_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19629, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5301,7 +5301,7 @@ static void mine_ride_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19630, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5314,7 +5314,7 @@ static void mine_ride_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19628, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -5331,7 +5331,7 @@ static void mine_ride_track_diag_right_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19631, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( diff --git a/src/openrct2/ride/coaster/MineTrainCoaster.cpp b/src/openrct2/ride/coaster/MineTrainCoaster.cpp index 0179151dd3..b49c7b64ab 100644 --- a/src/openrct2/ride/coaster/MineTrainCoaster.cpp +++ b/src/openrct2/ride/coaster/MineTrainCoaster.cpp @@ -29,22 +29,22 @@ static void mine_train_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20054, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20055, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20056, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20057, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -56,13 +56,13 @@ static void mine_train_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20052, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20053, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -85,18 +85,18 @@ static void mine_train_rc_track_station( { 20065, 20061, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height - 2, 0, 2, height); if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 0, height); } else { - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 0, height); } @@ -117,22 +117,22 @@ static void mine_train_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20102, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20103, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20104, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20105, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -143,22 +143,22 @@ static void mine_train_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20074, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20075, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20076, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20077, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -184,22 +184,22 @@ static void mine_train_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20090, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 21, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20091, 0, 0, 1, 32, 98, height, 27, 0, height); wooden_a_supports_paint_setup(session, 7, 22, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20092, 0, 0, 1, 32, 98, height, 27, 0, height); wooden_a_supports_paint_setup(session, 6, 23, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20093, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 24, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -226,22 +226,22 @@ static void mine_train_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20094, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20095, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20096, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20097, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -252,22 +252,22 @@ static void mine_train_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20066, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20067, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20068, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20069, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -293,26 +293,26 @@ static void mine_train_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20078, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 13, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20079, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20082, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 14, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20080, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20083, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 15, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20081, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 16, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -337,26 +337,26 @@ static void mine_train_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20084, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 17, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20085, 0, 0, 24, 1, 61, height, 4, 29, height - 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20088, 0, 0, 32, 2, 66, height, 0, 4, height); wooden_a_supports_paint_setup(session, 7, 18, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20086, 0, 0, 24, 1, 61, height, 4, 29, height - 16); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20089, 0, 0, 32, 2, 66, height, 0, 4, height); wooden_a_supports_paint_setup(session, 6, 19, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20087, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 20, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -383,22 +383,22 @@ static void mine_train_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20098, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20099, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20100, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20101, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -409,22 +409,22 @@ static void mine_train_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20070, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20071, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20072, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20073, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -501,22 +501,22 @@ static void mine_train_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20155, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20160, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20165, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20150, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -547,13 +547,13 @@ static void mine_train_rc_track_left_quarter_turn_5( wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20164, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20149, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -570,19 +570,19 @@ static void mine_train_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20153, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20158, 0, 0, 16, 16, 1, height, 16, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20163, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -610,7 +610,7 @@ static void mine_train_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20152, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -626,7 +626,7 @@ static void mine_train_rc_track_left_quarter_turn_5( wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20147, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -643,22 +643,22 @@ static void mine_train_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20151, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20156, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20161, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20146, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -695,26 +695,26 @@ static void mine_train_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20106, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20114, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20107, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20115, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20108, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20109, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -732,26 +732,26 @@ static void mine_train_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20110, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20111, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20112, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20116, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20113, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20117, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -769,26 +769,26 @@ static void mine_train_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20112, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20116, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20113, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20117, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20110, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20111, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -806,26 +806,26 @@ static void mine_train_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20108, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20109, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20106, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20114, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20107, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20115, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -846,26 +846,26 @@ static void mine_train_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20175, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20186, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20180, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20185, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20170, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -891,19 +891,19 @@ static void mine_train_rc_track_banked_left_quarter_turn_5( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20179, 0, 0, 32, 16, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20184, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20169, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -920,19 +920,19 @@ static void mine_train_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20173, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20178, 0, 0, 16, 16, 1, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20183, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -960,13 +960,13 @@ static void mine_train_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20172, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20177, 0, 0, 16, 32, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -977,7 +977,7 @@ static void mine_train_rc_track_banked_left_quarter_turn_5( wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20167, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -994,26 +994,26 @@ static void mine_train_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20171, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20176, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20181, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20187, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20166, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1050,26 +1050,26 @@ static void mine_train_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20118, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20122, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20119, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20123, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20120, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20121, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1094,26 +1094,26 @@ static void mine_train_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20124, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20125, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20126, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20128, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20127, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20129, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1138,26 +1138,26 @@ static void mine_train_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20130, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20134, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20131, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20135, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20132, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20133, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1182,26 +1182,26 @@ static void mine_train_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20136, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20137, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20138, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20140, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20139, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20141, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1258,22 +1258,22 @@ static void mine_train_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20142, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20143, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20144, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20145, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1302,22 +1302,22 @@ static void mine_train_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20250, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20255, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20260, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20265, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1338,23 +1338,23 @@ static void mine_train_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20251, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20256, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20261, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20266, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1371,25 +1371,25 @@ static void mine_train_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20252, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20257, 0, 0, 16, 16, 1, height, 16, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20262, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20267, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1411,23 +1411,23 @@ static void mine_train_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20253, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20258, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20263, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20268, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1444,22 +1444,22 @@ static void mine_train_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20254, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20259, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20264, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20269, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1490,22 +1490,22 @@ static void mine_train_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20230, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20235, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20240, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20245, 0, 0, 32, 27, 1, height, 0, 2, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1526,24 +1526,24 @@ static void mine_train_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20231, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20236, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20241, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20246, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1559,24 +1559,24 @@ static void mine_train_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20232, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20237, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20242, 0, 0, 16, 16, 1, height, 16, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20247, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1599,23 +1599,23 @@ static void mine_train_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20233, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20238, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20243, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20248, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1632,22 +1632,22 @@ static void mine_train_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20234, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 7, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20239, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 6, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20244, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 7, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20249, 0, 0, 27, 32, 1, height, 2, 0, height); wooden_a_supports_paint_setup(session, 6, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1698,22 +1698,22 @@ static void mine_train_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20270, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20274, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20273, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20277, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1739,12 +1739,12 @@ static void mine_train_rc_track_s_bend_left( wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20272, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20276, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1760,12 +1760,12 @@ static void mine_train_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20272, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20276, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1791,22 +1791,22 @@ static void mine_train_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20273, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20277, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20270, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20274, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1837,22 +1837,22 @@ static void mine_train_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20278, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20282, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20281, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20285, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1868,12 +1868,12 @@ static void mine_train_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20279, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20283, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1909,12 +1909,12 @@ static void mine_train_rc_track_s_bend_right( wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20279, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20283, 0, 0, 32, 26, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1930,22 +1930,22 @@ static void mine_train_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20281, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20285, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20278, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20282, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1976,22 +1976,22 @@ static void mine_train_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20193, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20196, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20199, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20190, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2025,7 +2025,7 @@ static void mine_train_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20192, 0, 0, 16, 16, 1, height, 16, 0, height); break; @@ -2034,12 +2034,12 @@ static void mine_train_rc_track_left_quarter_turn_3( session, direction, session->TrackColours[SCHEME_TRACK] | 20195, 0, 0, 16, 16, 1, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20198, 0, 0, 16, 16, 1, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20189, 0, 0, 16, 16, 1, height, 16, 16, height); break; @@ -2052,22 +2052,22 @@ static void mine_train_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20191, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20194, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20197, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20188, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2107,26 +2107,26 @@ static void mine_train_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20205, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20212, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20208, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20211, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20202, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2160,22 +2160,22 @@ static void mine_train_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20204, 0, 0, 16, 16, 1, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20207, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20210, 0, 0, 16, 16, 1, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20201, 0, 0, 16, 16, 1, height, 16, 16, height); break; @@ -2188,26 +2188,26 @@ static void mine_train_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20203, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20206, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20209, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20213, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20200, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2467,26 +2467,26 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20305, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20312, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20308, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20311, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20302, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2524,22 +2524,22 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20304, 0, 0, 16, 16, 1, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20307, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20310, 0, 0, 16, 16, 1, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20301, 0, 0, 16, 16, 1, height, 16, 16, height); break; @@ -2552,26 +2552,26 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20303, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20306, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20309, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20313, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20300, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2596,26 +2596,26 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20302, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20305, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20312, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20308, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20311, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2658,22 +2658,22 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20301, 0, 0, 16, 16, 1, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20304, 0, 0, 16, 16, 1, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20307, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20310, 0, 0, 16, 16, 1, height, 16, 0, height); break; @@ -2686,25 +2686,25 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20300, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20303, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20306, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20309, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20313, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2735,25 +2735,25 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20286, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20289, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20292, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20295, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20299, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2792,22 +2792,22 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20287, 0, 0, 16, 16, 1, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20290, 0, 0, 16, 16, 1, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20293, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20296, 0, 0, 16, 16, 1, height, 16, 0, height); break; @@ -2820,26 +2820,26 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20288, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20291, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20298, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20294, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20297, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2864,26 +2864,26 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20289, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20292, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20295, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20299, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20286, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2926,22 +2926,22 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20290, 0, 0, 16, 16, 1, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20293, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20296, 0, 0, 16, 16, 1, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20287, 0, 0, 16, 16, 1, height, 16, 16, height); break; @@ -2954,26 +2954,26 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20291, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20298, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20294, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20297, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20288, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3033,26 +3033,26 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20345, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20356, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20350, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20355, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20340, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3077,24 +3077,24 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20344, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20349, 0, 0, 32, 16, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20354, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20339, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3111,28 +3111,28 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20343, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20348, 0, 0, 16, 16, 1, height, 16, 16, height + 27); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20178, 0, 0, 16, 16, 1, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20353, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20338, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3152,27 +3152,27 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20342, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20347, 0, 0, 16, 32, 1, height, 0, 0, height + 27); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20177, 0, 0, 16, 32, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20352, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20337, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3189,26 +3189,26 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20341, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20346, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20351, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20357, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20336, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3233,26 +3233,26 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20340, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20345, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20356, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20350, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20355, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3282,24 +3282,24 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20339, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20344, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20349, 0, 0, 16, 32, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20354, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3316,27 +3316,27 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20338, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20343, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20348, 0, 0, 16, 16, 1, height, 16, 16, height + 27); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20178, 0, 0, 16, 16, 1, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20353, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3357,28 +3357,28 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20337, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20342, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20347, 0, 0, 32, 16, 1, height, 0, 0, height + 27); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20177, 0, 0, 32, 16, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20352, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3394,25 +3394,25 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20336, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20341, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20346, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20351, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20357, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3443,25 +3443,25 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20314, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20319, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20324, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20329, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20335, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3487,25 +3487,25 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20315, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20320, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20325, 0, 0, 32, 16, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20330, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3521,24 +3521,24 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20316, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20321, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20326, 0, 0, 16, 16, 1, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20331, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3559,24 +3559,24 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20317, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20322, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20327, 0, 0, 16, 32, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20332, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3593,26 +3593,26 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20318, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20323, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20334, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20328, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20333, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3637,26 +3637,26 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20319, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20324, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20329, 0, 0, 20, 32, 1, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20335, 0, 0, 1, 32, 26, height, 27, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20314, 0, 0, 20, 32, 1, height, 6, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3686,24 +3686,24 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20320, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20325, 0, 0, 16, 32, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20330, 0, 0, 16, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20315, 0, 0, 16, 32, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3720,25 +3720,25 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20321, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20326, 0, 0, 16, 16, 1, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20331, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20316, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3758,24 +3758,24 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20322, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20327, 0, 0, 32, 16, 1, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20332, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20317, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3792,26 +3792,26 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20323, 0, 0, 32, 20, 1, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20334, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20328, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20333, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20318, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3869,13 +3869,13 @@ static void mine_train_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20058, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20059, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3893,22 +3893,22 @@ static void mine_train_rc_track_on_ride_photo( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20052, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20053, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20052, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20053, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3930,22 +3930,22 @@ static void mine_train_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20452, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20456, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20460, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20464, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3961,23 +3961,23 @@ static void mine_train_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20453, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20457, 0, 0, 34, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20461, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20465, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3990,25 +3990,25 @@ static void mine_train_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20454, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20458, 0, 0, 16, 16, 1, height, 16, 16, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20462, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20466, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4039,21 +4039,21 @@ static void mine_train_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20455, 0, 0, 16, 16, 1, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20459, 0, 0, 16, 18, 1, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20463, 0, 0, 16, 16, 1, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20467, 0, 0, 16, 16, 1, height, 16, 0, height); break; @@ -4075,22 +4075,22 @@ static void mine_train_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20436, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20440, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20444, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20448, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4106,24 +4106,24 @@ static void mine_train_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20437, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20441, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20445, 0, 0, 34, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20449, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4135,23 +4135,23 @@ static void mine_train_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20438, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20442, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20446, 0, 0, 28, 28, 1, height, 4, 4, height); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20450, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4183,21 +4183,21 @@ static void mine_train_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20439, 0, 0, 16, 16, 1, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20443, 0, 0, 16, 16, 1, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20447, 0, 0, 16, 18, 1, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20451, 0, 0, 16, 16, 1, height, 16, 16, height); break; @@ -4237,24 +4237,24 @@ static void mine_train_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20484, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20488, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20492, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20496, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4270,24 +4270,24 @@ static void mine_train_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20485, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20489, 0, 0, 34, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20493, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20497, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4300,25 +4300,25 @@ static void mine_train_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20486, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20490, 0, 0, 16, 16, 0, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20494, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20498, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4349,21 +4349,21 @@ static void mine_train_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20487, 0, 0, 16, 16, 1, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20491, 0, 0, 16, 18, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20495, 0, 0, 16, 16, 1, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20499, 0, 0, 16, 16, 1, height, 16, 0, height); break; @@ -4385,23 +4385,23 @@ static void mine_train_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20468, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20472, 0, 0, 32, 32, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20476, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20480, 0, 0, 32, 1, 26, height, 0, 27, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4418,25 +4418,25 @@ static void mine_train_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20469, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20473, 0, 0, 32, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20477, 0, 0, 34, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20481, 0, 0, 32, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4448,24 +4448,24 @@ static void mine_train_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20470, 0, 0, 16, 16, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20474, 0, 0, 16, 16, 1, height, 16, 0, height); wooden_a_supports_paint_setup(session, 9, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20478, 0, 0, 28, 28, 0, height, 4, 4, height + 27); wooden_a_supports_paint_setup(session, 10, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20482, 0, 0, 16, 16, 1, height, 0, 16, height); wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4497,21 +4497,21 @@ static void mine_train_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20471, 0, 0, 16, 16, 1, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20475, 0, 0, 16, 16, 1, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20479, 0, 0, 16, 18, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20483, 0, 0, 16, 16, 1, height, 16, 16, height); break; @@ -4553,7 +4553,7 @@ static void mine_train_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20389, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4564,7 +4564,7 @@ static void mine_train_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20361, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4579,7 +4579,7 @@ static void mine_train_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20386, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4600,7 +4600,7 @@ static void mine_train_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20358, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4631,7 +4631,7 @@ static void mine_train_rc_track_diag_flat( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20388, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4652,7 +4652,7 @@ static void mine_train_rc_track_diag_flat( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20360, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4671,7 +4671,7 @@ static void mine_train_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20387, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4682,7 +4682,7 @@ static void mine_train_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20359, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4707,7 +4707,7 @@ static void mine_train_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20401, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4718,7 +4718,7 @@ static void mine_train_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20373, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4733,7 +4733,7 @@ static void mine_train_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20398, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -4758,7 +4758,7 @@ static void mine_train_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20370, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -4795,7 +4795,7 @@ static void mine_train_rc_track_diag_25_deg_up( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20400, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -4820,7 +4820,7 @@ static void mine_train_rc_track_diag_25_deg_up( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20372, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -4841,7 +4841,7 @@ static void mine_train_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20399, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4852,7 +4852,7 @@ static void mine_train_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20371, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4875,7 +4875,7 @@ static void mine_train_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20385, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4887,7 +4887,7 @@ static void mine_train_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20382, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4915,7 +4915,7 @@ static void mine_train_rc_track_diag_60_deg_up( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20384, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4931,7 +4931,7 @@ static void mine_train_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20383, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4955,7 +4955,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20393, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4966,7 +4966,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20365, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -4981,7 +4981,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20390, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5002,7 +5002,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20362, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5033,7 +5033,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20392, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5054,7 +5054,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20364, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5073,7 +5073,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20391, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5084,7 +5084,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20363, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5107,7 +5107,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20377, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5119,7 +5119,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20374, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5147,7 +5147,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_60_deg_up( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20376, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5163,7 +5163,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20375, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5185,7 +5185,7 @@ static void mine_train_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20381, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5197,7 +5197,7 @@ static void mine_train_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20378, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5225,7 +5225,7 @@ static void mine_train_rc_track_diag_60_deg_up_to_25_deg_up( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20380, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5241,7 +5241,7 @@ static void mine_train_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20379, -16, -16, 16, 16, 1, height, 0, 0, height); break; @@ -5265,7 +5265,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20397, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5276,7 +5276,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20369, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5291,7 +5291,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20394, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5316,7 +5316,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20366, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5353,7 +5353,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20396, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5378,7 +5378,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20368, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5399,7 +5399,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20395, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5410,7 +5410,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20367, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5435,7 +5435,7 @@ static void mine_train_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20399, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5446,7 +5446,7 @@ static void mine_train_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20371, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5461,7 +5461,7 @@ static void mine_train_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20400, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5486,7 +5486,7 @@ static void mine_train_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20372, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5523,7 +5523,7 @@ static void mine_train_rc_track_diag_25_deg_down( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20398, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5548,7 +5548,7 @@ static void mine_train_rc_track_diag_25_deg_down( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20370, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5569,7 +5569,7 @@ static void mine_train_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20401, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5580,7 +5580,7 @@ static void mine_train_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20373, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5603,7 +5603,7 @@ static void mine_train_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20383, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5615,7 +5615,7 @@ static void mine_train_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20384, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5643,7 +5643,7 @@ static void mine_train_rc_track_diag_60_deg_down( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20382, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5659,7 +5659,7 @@ static void mine_train_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20385, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5683,7 +5683,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20395, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5694,7 +5694,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20367, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5708,7 +5708,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20396, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5733,7 +5733,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20368, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5769,7 +5769,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20394, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5794,7 +5794,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20366, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup( @@ -5814,7 +5814,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20397, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5825,7 +5825,7 @@ static void mine_train_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20369, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5849,7 +5849,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20379, -16, -16, 16, 16, 1, height, 0, 0, height); break; @@ -5861,7 +5861,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20380, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5889,7 +5889,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_60_deg_down( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20378, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5905,7 +5905,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20381, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5927,7 +5927,7 @@ static void mine_train_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20375, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -5939,7 +5939,7 @@ static void mine_train_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20376, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5967,7 +5967,7 @@ static void mine_train_rc_track_diag_60_deg_down_to_25_deg_down( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20374, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5983,7 +5983,7 @@ static void mine_train_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20377, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6007,7 +6007,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20391, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6018,7 +6018,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20363, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6033,7 +6033,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20392, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6054,7 +6054,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20364, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6085,7 +6085,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20390, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6106,7 +6106,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20362, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6125,7 +6125,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20393, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6136,7 +6136,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20365, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6159,7 +6159,7 @@ static void mine_train_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20409, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6171,10 +6171,10 @@ static void mine_train_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20406, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20410, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6202,7 +6202,7 @@ static void mine_train_rc_track_diag_flat_to_left_bank( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20408, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6218,7 +6218,7 @@ static void mine_train_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20407, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6240,7 +6240,7 @@ static void mine_train_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20414, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6252,7 +6252,7 @@ static void mine_train_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20411, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6280,10 +6280,10 @@ static void mine_train_rc_track_diag_flat_to_right_bank( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20413, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20415, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6299,7 +6299,7 @@ static void mine_train_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20412, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6321,7 +6321,7 @@ static void mine_train_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20412, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6333,10 +6333,10 @@ static void mine_train_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20413, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20415, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6364,7 +6364,7 @@ static void mine_train_rc_track_diag_left_bank_to_flat( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20411, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6380,7 +6380,7 @@ static void mine_train_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20414, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6402,7 +6402,7 @@ static void mine_train_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20407, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6414,7 +6414,7 @@ static void mine_train_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20408, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6442,10 +6442,10 @@ static void mine_train_rc_track_diag_right_bank_to_flat( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20406, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20410, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6461,7 +6461,7 @@ static void mine_train_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20409, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6483,7 +6483,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20429, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6495,10 +6495,10 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20426, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20430, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6526,7 +6526,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_up( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20428, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6542,7 +6542,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20427, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6564,7 +6564,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20434, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6576,7 +6576,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20431, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6604,10 +6604,10 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_up( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20433, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20435, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6623,7 +6623,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20432, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6645,7 +6645,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20419, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6657,10 +6657,10 @@ static void mine_train_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20416, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20420, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6688,7 +6688,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_left_bank( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20418, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6704,7 +6704,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20417, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6726,7 +6726,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20424, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6738,7 +6738,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20421, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6766,10 +6766,10 @@ static void mine_train_rc_track_diag_25_deg_up_to_right_bank( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20423, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20425, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6785,7 +6785,7 @@ static void mine_train_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20422, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6807,7 +6807,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20422, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6817,10 +6817,10 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20423, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20425, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6846,7 +6846,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_down( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20421, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6860,7 +6860,7 @@ static void mine_train_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20424, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6883,7 +6883,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20417, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6893,7 +6893,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20418, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6919,10 +6919,10 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_down( wooden_b_supports_paint_setup(session, 11, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20416, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20420, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 8, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6936,7 +6936,7 @@ static void mine_train_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20419, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6959,7 +6959,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20432, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -6971,10 +6971,10 @@ static void mine_train_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20433, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20435, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7002,7 +7002,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_left_bank( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20431, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7018,7 +7018,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20434, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -7040,7 +7040,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20427, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -7052,7 +7052,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20428, -16, -16, 32, 32, 1, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7080,10 +7080,10 @@ static void mine_train_rc_track_diag_25_deg_down_to_right_bank( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20426, -16, -16, 32, 32, 1, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20430, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7099,7 +7099,7 @@ static void mine_train_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20429, -16, -16, 32, 32, 1, height, -16, -16, height); break; @@ -7121,7 +7121,7 @@ static void mine_train_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20405, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7134,7 +7134,7 @@ static void mine_train_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20402, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7163,7 +7163,7 @@ static void mine_train_rc_track_diag_left_bank( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20404, -16, -16, 32, 32, 3, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7180,7 +7180,7 @@ static void mine_train_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20403, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7203,7 +7203,7 @@ static void mine_train_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20403, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7216,7 +7216,7 @@ static void mine_train_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20404, -16, -16, 32, 32, 3, height, -16, -16, height); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7245,7 +7245,7 @@ static void mine_train_rc_track_diag_right_bank( wooden_a_supports_paint_setup(session, 11, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20402, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7262,7 +7262,7 @@ static void mine_train_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20405, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7283,13 +7283,13 @@ static void mine_train_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20060, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 20061, 0, 0, 32, 20, 1, height, 0, 6, height); wooden_a_supports_paint_setup(session, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; diff --git a/src/openrct2/ride/coaster/MiniRollerCoaster.cpp b/src/openrct2/ride/coaster/MiniRollerCoaster.cpp index c51e97d77d..33361bd16e 100644 --- a/src/openrct2/ride/coaster/MiniRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/MiniRollerCoaster.cpp @@ -29,7 +29,7 @@ static void mini_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19044, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -38,7 +38,7 @@ static void mini_rc_track_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19045, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -47,7 +47,7 @@ static void mini_rc_track_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19046, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -56,7 +56,7 @@ static void mini_rc_track_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19047, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -72,7 +72,7 @@ static void mini_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18738, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -82,7 +82,7 @@ static void mini_rc_track_flat( break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18739, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -111,13 +111,13 @@ static void mini_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); } @@ -140,7 +140,7 @@ static void mini_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19056, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -149,7 +149,7 @@ static void mini_rc_track_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19057, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -158,7 +158,7 @@ static void mini_rc_track_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19058, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -167,7 +167,7 @@ static void mini_rc_track_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19059, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -182,7 +182,7 @@ static void mini_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18796, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -191,7 +191,7 @@ static void mini_rc_track_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18797, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -200,7 +200,7 @@ static void mini_rc_track_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18798, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -209,7 +209,7 @@ static void mini_rc_track_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18799, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -240,7 +240,7 @@ static void mini_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18812, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -249,7 +249,7 @@ static void mini_rc_track_60_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18813, 0, 0, 32, 1, 98, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -258,7 +258,7 @@ static void mini_rc_track_60_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18814, 0, 0, 32, 1, 98, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -267,7 +267,7 @@ static void mini_rc_track_60_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18815, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -299,7 +299,7 @@ static void mini_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19048, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -308,7 +308,7 @@ static void mini_rc_track_flat_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19049, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -317,7 +317,7 @@ static void mini_rc_track_flat_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19050, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -326,7 +326,7 @@ static void mini_rc_track_flat_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19051, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -341,7 +341,7 @@ static void mini_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18788, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -350,7 +350,7 @@ static void mini_rc_track_flat_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18789, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -359,7 +359,7 @@ static void mini_rc_track_flat_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18790, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -368,7 +368,7 @@ static void mini_rc_track_flat_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18791, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -399,7 +399,7 @@ static void mini_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18800, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -408,9 +408,9 @@ static void mini_rc_track_25_deg_up_to_60_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18801, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18804, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -419,9 +419,9 @@ static void mini_rc_track_25_deg_up_to_60_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18802, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18805, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -430,7 +430,7 @@ static void mini_rc_track_25_deg_up_to_60_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18803, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -460,7 +460,7 @@ static void mini_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18806, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -469,9 +469,9 @@ static void mini_rc_track_60_deg_up_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18807, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18810, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -480,9 +480,9 @@ static void mini_rc_track_60_deg_up_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18808, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18811, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -491,7 +491,7 @@ static void mini_rc_track_60_deg_up_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18809, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -523,7 +523,7 @@ static void mini_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19052, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -532,7 +532,7 @@ static void mini_rc_track_25_deg_up_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19053, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -541,7 +541,7 @@ static void mini_rc_track_25_deg_up_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19054, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -550,7 +550,7 @@ static void mini_rc_track_25_deg_up_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19055, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -565,7 +565,7 @@ static void mini_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18792, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -574,7 +574,7 @@ static void mini_rc_track_25_deg_up_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18793, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -583,7 +583,7 @@ static void mini_rc_track_25_deg_up_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18794, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -592,7 +592,7 @@ static void mini_rc_track_25_deg_up_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18795, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -674,25 +674,25 @@ static void mini_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18851, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18856, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18861, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18846, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -713,20 +713,20 @@ static void mini_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18850, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18855, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18860, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18845, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -742,22 +742,22 @@ static void mini_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18849, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18854, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18859, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18844, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -772,20 +772,20 @@ static void mini_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18848, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18853, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18858, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18843, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -801,25 +801,25 @@ static void mini_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18847, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18852, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18857, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18842, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -858,9 +858,9 @@ static void mini_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18748, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18756, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -869,9 +869,9 @@ static void mini_rc_track_flat_to_left_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18749, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18757, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -880,7 +880,7 @@ static void mini_rc_track_flat_to_left_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18750, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -889,7 +889,7 @@ static void mini_rc_track_flat_to_left_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18751, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -912,7 +912,7 @@ static void mini_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18752, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -921,7 +921,7 @@ static void mini_rc_track_flat_to_right_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18753, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -930,9 +930,9 @@ static void mini_rc_track_flat_to_right_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18754, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18758, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -941,9 +941,9 @@ static void mini_rc_track_flat_to_right_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18755, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18759, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -966,9 +966,9 @@ static void mini_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18754, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18758, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -977,9 +977,9 @@ static void mini_rc_track_left_bank_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18755, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18759, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -988,7 +988,7 @@ static void mini_rc_track_left_bank_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18752, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -997,7 +997,7 @@ static void mini_rc_track_left_bank_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18753, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1020,7 +1020,7 @@ static void mini_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18750, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1029,7 +1029,7 @@ static void mini_rc_track_right_bank_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18751, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1038,9 +1038,9 @@ static void mini_rc_track_right_bank_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18748, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18756, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1049,9 +1049,9 @@ static void mini_rc_track_right_bank_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18749, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18757, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1077,29 +1077,29 @@ static void mini_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18871, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18882, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18876, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18881, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18866, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1120,21 +1120,21 @@ static void mini_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18870, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18875, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18880, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18865, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1150,22 +1150,22 @@ static void mini_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18869, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18874, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18879, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18864, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -1180,21 +1180,21 @@ static void mini_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18868, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18873, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18878, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18863, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1210,29 +1210,29 @@ static void mini_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18867, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18872, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18877, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18883, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18862, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1271,9 +1271,9 @@ static void mini_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18760, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18764, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1282,9 +1282,9 @@ static void mini_rc_track_left_bank_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18761, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18765, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1293,7 +1293,7 @@ static void mini_rc_track_left_bank_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18762, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1302,7 +1302,7 @@ static void mini_rc_track_left_bank_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18763, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1332,7 +1332,7 @@ static void mini_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18766, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1341,7 +1341,7 @@ static void mini_rc_track_right_bank_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18767, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1350,9 +1350,9 @@ static void mini_rc_track_right_bank_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18768, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18770, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1361,9 +1361,9 @@ static void mini_rc_track_right_bank_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18769, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18771, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1393,9 +1393,9 @@ static void mini_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18772, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18776, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1404,9 +1404,9 @@ static void mini_rc_track_25_deg_up_to_left_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18773, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18777, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1415,7 +1415,7 @@ static void mini_rc_track_25_deg_up_to_left_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18774, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1424,7 +1424,7 @@ static void mini_rc_track_25_deg_up_to_left_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18775, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1454,7 +1454,7 @@ static void mini_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18778, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1463,7 +1463,7 @@ static void mini_rc_track_25_deg_up_to_right_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18779, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1472,9 +1472,9 @@ static void mini_rc_track_25_deg_up_to_right_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18780, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18782, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1483,9 +1483,9 @@ static void mini_rc_track_25_deg_up_to_right_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18781, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18783, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1547,7 +1547,7 @@ static void mini_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18784, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1556,7 +1556,7 @@ static void mini_rc_track_left_bank( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18785, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1565,7 +1565,7 @@ static void mini_rc_track_left_bank( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18786, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1574,7 +1574,7 @@ static void mini_rc_track_left_bank( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18787, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1608,25 +1608,25 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18936, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18941, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18946, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18951, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1655,12 +1655,12 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18942, 0, 0, 32, 16, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18947, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18952, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1676,17 +1676,17 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18938, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18943, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18948, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -1706,7 +1706,7 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18939, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1719,7 +1719,7 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18949, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18954, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1735,25 +1735,25 @@ static void mini_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18940, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18945, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18950, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18955, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1786,25 +1786,25 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18916, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18921, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18926, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18931, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1825,12 +1825,12 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18917, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18922, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1858,17 +1858,17 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18918, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18923, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18928, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18933, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -1884,7 +1884,7 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18919, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1897,7 +1897,7 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 18929, 0, 0, 16, 32, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18934, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1913,25 +1913,25 @@ static void mini_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18920, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18925, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18930, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18935, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1982,25 +1982,25 @@ static void mini_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18900, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18904, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18903, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18907, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2030,11 +2030,11 @@ static void mini_rc_track_s_bend_left( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18902, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18906, 0, 0, 32, 26, 3, height, 0, 6, height); break; } @@ -2049,11 +2049,11 @@ static void mini_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18902, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18906, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 2: @@ -2080,25 +2080,25 @@ static void mini_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18903, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18907, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18900, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18904, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2131,25 +2131,25 @@ static void mini_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18908, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18912, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18911, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18915, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2167,13 +2167,13 @@ static void mini_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18909, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18913, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2206,13 +2206,13 @@ static void mini_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 18914, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18909, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18913, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2229,25 +2229,25 @@ static void mini_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18911, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18915, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18908, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18912, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2280,25 +2280,25 @@ static void mini_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18821, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18824, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18827, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18818, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2319,21 +2319,21 @@ static void mini_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18820, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18823, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18826, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18817, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2346,25 +2346,25 @@ static void mini_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18819, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18822, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18825, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18816, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2406,29 +2406,29 @@ static void mini_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18833, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18840, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18836, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18839, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18830, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2449,22 +2449,22 @@ static void mini_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18832, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18835, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18838, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18829, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2477,29 +2477,29 @@ static void mini_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18831, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18834, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18837, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18841, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18828, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2745,29 +2745,29 @@ static void mini_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18991, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18998, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18994, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18997, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18988, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2789,22 +2789,22 @@ static void mini_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18990, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18993, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18996, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18987, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2817,29 +2817,29 @@ static void mini_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18989, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18992, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18995, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18999, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18986, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2863,29 +2863,29 @@ static void mini_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18988, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18991, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18998, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18994, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18997, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -2912,22 +2912,22 @@ static void mini_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18987, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18990, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18993, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18996, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -2940,28 +2940,28 @@ static void mini_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18986, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18989, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18992, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18995, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18999, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -2991,28 +2991,28 @@ static void mini_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18972, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18975, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18978, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 9, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18981, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18985, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -3035,22 +3035,22 @@ static void mini_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18973, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18976, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18979, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18982, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3063,29 +3063,29 @@ static void mini_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18974, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18977, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18984, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18980, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18983, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3109,29 +3109,29 @@ static void mini_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18975, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18978, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 9, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18981, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18985, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 11, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18972, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 8, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3158,22 +3158,22 @@ static void mini_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18976, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18979, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18982, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18973, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3186,29 +3186,29 @@ static void mini_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18977, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18984, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18980, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18983, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18974, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3265,29 +3265,29 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19031, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19042, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19036, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19041, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19026, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3309,21 +3309,21 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19030, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19035, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19040, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19025, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3339,22 +3339,22 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19029, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19034, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19039, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19024, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3369,21 +3369,21 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19028, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19033, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19038, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19023, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3399,29 +3399,29 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19027, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19032, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19037, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19043, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19022, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3445,29 +3445,29 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19026, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19031, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19042, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19036, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19041, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3494,21 +3494,21 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19025, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19030, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19035, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19040, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3524,21 +3524,21 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19024, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19029, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19034, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19039, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3554,22 +3554,22 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19023, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19028, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19033, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19038, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3584,28 +3584,28 @@ static void mini_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19022, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19027, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19032, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19037, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19043, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -3635,28 +3635,28 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19000, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19005, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19010, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19015, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19021, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -3679,22 +3679,22 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19001, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19006, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19011, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19016, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -3709,21 +3709,21 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19002, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19007, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19012, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19017, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -3739,21 +3739,21 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19003, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19008, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19013, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19018, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3769,29 +3769,29 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19004, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19009, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19020, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19014, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19019, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3815,29 +3815,29 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19005, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19010, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19015, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19021, 0, 0, 1, 32, 26, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19000, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3864,21 +3864,21 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19006, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19011, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19016, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19001, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -3894,22 +3894,22 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19007, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19012, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19017, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19002, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -3924,21 +3924,21 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19008, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19013, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19018, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19003, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -3954,29 +3954,29 @@ static void mini_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19009, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19020, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19014, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19019, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19004, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4030,27 +4030,27 @@ static void mini_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18893, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18897, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18894, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18898, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18895, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18899, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18892, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18896, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4067,27 +4067,27 @@ static void mini_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18884, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18888, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18885, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18889, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18886, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18890, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18887, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18891, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -4121,7 +4121,7 @@ static void mini_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18740, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4131,7 +4131,7 @@ static void mini_rc_track_brakes( break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18741, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4154,7 +4154,7 @@ static void mini_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19222, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4163,7 +4163,7 @@ static void mini_rc_track_25_deg_up_left_banked( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19223, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4172,7 +4172,7 @@ static void mini_rc_track_25_deg_up_left_banked( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19224, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4181,7 +4181,7 @@ static void mini_rc_track_25_deg_up_left_banked( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19225, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4211,7 +4211,7 @@ static void mini_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19226, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4220,7 +4220,7 @@ static void mini_rc_track_25_deg_up_right_banked( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19227, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4229,7 +4229,7 @@ static void mini_rc_track_25_deg_up_right_banked( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19228, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4238,7 +4238,7 @@ static void mini_rc_track_25_deg_up_right_banked( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19229, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -4271,7 +4271,7 @@ static void mini_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18738, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: @@ -4280,14 +4280,14 @@ static void mini_rc_track_on_ride_photo( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18739, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 5, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_FORK, 8, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18738, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: @@ -4296,7 +4296,7 @@ static void mini_rc_track_on_ride_photo( session, METAL_SUPPORTS_FORK_ALT, 6, 6, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 7, 6, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18739, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -4333,25 +4333,25 @@ static void mini_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19076, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19080, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19084, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19088, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4369,20 +4369,20 @@ static void mini_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19077, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19081, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19085, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19089, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4398,22 +4398,22 @@ static void mini_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19078, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19082, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19086, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19090, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4431,27 +4431,27 @@ static void mini_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19079, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 3, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19083, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19087, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19091, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4479,25 +4479,25 @@ static void mini_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19060, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19064, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19068, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19072, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4515,21 +4515,21 @@ static void mini_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19061, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19065, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19069, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19073, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4544,20 +4544,20 @@ static void mini_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19062, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19066, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19070, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19074, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4576,27 +4576,27 @@ static void mini_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19063, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19067, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19071, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 2, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19075, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -4642,27 +4642,27 @@ static void mini_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19108, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19112, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19116, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19120, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -4680,21 +4680,21 @@ static void mini_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19109, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19113, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19117, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19121, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4710,22 +4710,22 @@ static void mini_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19110, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19114, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19118, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19122, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4743,27 +4743,27 @@ static void mini_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19111, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 3, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19115, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19119, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19123, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4791,26 +4791,26 @@ static void mini_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19092, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19096, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19100, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19104, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup( @@ -4829,22 +4829,22 @@ static void mini_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19093, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19097, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19101, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19105, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4859,21 +4859,21 @@ static void mini_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19094, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19098, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19102, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19106, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4892,27 +4892,27 @@ static void mini_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19095, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19099, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 0, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19103, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 2, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19107, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -4960,7 +4960,7 @@ static void mini_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19189, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4971,7 +4971,7 @@ static void mini_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19127, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4987,7 +4987,7 @@ static void mini_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19186, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -4998,7 +4998,7 @@ static void mini_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19124, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5014,7 +5014,7 @@ static void mini_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19188, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5025,7 +5025,7 @@ static void mini_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19126, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5045,7 +5045,7 @@ static void mini_rc_track_diag_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19187, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5070,7 +5070,7 @@ static void mini_rc_track_diag_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19125, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5106,7 +5106,7 @@ static void mini_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19201, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5117,7 +5117,7 @@ static void mini_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19139, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5133,7 +5133,7 @@ static void mini_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19198, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5144,7 +5144,7 @@ static void mini_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19136, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5160,7 +5160,7 @@ static void mini_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19200, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5171,7 +5171,7 @@ static void mini_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19138, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5191,7 +5191,7 @@ static void mini_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19199, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5216,7 +5216,7 @@ static void mini_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19137, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5250,7 +5250,7 @@ static void mini_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19151, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5263,7 +5263,7 @@ static void mini_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19148, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5276,7 +5276,7 @@ static void mini_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19150, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5293,7 +5293,7 @@ static void mini_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_FORK, 1, 38, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19149, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5328,7 +5328,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19193, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5339,7 +5339,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19131, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5355,7 +5355,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19190, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5366,7 +5366,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19128, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5382,7 +5382,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19192, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5393,7 +5393,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19130, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5413,7 +5413,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19191, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5438,7 +5438,7 @@ static void mini_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19129, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5472,7 +5472,7 @@ static void mini_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19143, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5485,7 +5485,7 @@ static void mini_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19140, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5498,7 +5498,7 @@ static void mini_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19142, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5515,7 +5515,7 @@ static void mini_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_FORK, 1, 22, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19141, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5548,7 +5548,7 @@ static void mini_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19147, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5561,7 +5561,7 @@ static void mini_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19144, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5574,7 +5574,7 @@ static void mini_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19146, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5591,7 +5591,7 @@ static void mini_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 27, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19145, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -5626,7 +5626,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19197, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5637,7 +5637,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19135, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5653,7 +5653,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19194, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5664,7 +5664,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19132, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5680,7 +5680,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19196, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5691,7 +5691,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19134, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5711,7 +5711,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19195, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5736,7 +5736,7 @@ static void mini_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19133, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5772,7 +5772,7 @@ static void mini_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19199, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5783,7 +5783,7 @@ static void mini_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19137, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5799,7 +5799,7 @@ static void mini_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19200, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5810,7 +5810,7 @@ static void mini_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19138, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5826,7 +5826,7 @@ static void mini_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19198, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5837,7 +5837,7 @@ static void mini_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19136, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5857,7 +5857,7 @@ static void mini_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19201, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5882,7 +5882,7 @@ static void mini_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19139, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5916,7 +5916,7 @@ static void mini_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19149, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5929,7 +5929,7 @@ static void mini_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19150, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5942,7 +5942,7 @@ static void mini_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19148, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5959,7 +5959,7 @@ static void mini_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_FORK, 1, 30, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19151, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5994,7 +5994,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19195, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6005,7 +6005,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19133, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6020,7 +6020,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19196, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6031,7 +6031,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19134, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6046,7 +6046,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19194, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6057,7 +6057,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19132, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6076,7 +6076,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19197, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6101,7 +6101,7 @@ static void mini_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19135, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6136,7 +6136,7 @@ static void mini_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19145, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6149,7 +6149,7 @@ static void mini_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19146, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6162,7 +6162,7 @@ static void mini_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19144, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6179,7 +6179,7 @@ static void mini_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_FORK, 1, 23, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19147, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6212,7 +6212,7 @@ static void mini_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19141, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6225,7 +6225,7 @@ static void mini_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19142, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6238,7 +6238,7 @@ static void mini_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19140, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6255,7 +6255,7 @@ static void mini_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19143, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6290,7 +6290,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19191, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6301,7 +6301,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19129, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6317,7 +6317,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19192, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6328,7 +6328,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19130, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6344,7 +6344,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19190, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6355,7 +6355,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19128, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6375,7 +6375,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19193, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6400,7 +6400,7 @@ static void mini_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19131, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6434,7 +6434,7 @@ static void mini_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19159, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6447,10 +6447,10 @@ static void mini_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19156, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19160, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6463,7 +6463,7 @@ static void mini_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19158, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6480,7 +6480,7 @@ static void mini_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19157, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6513,7 +6513,7 @@ static void mini_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19164, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6526,7 +6526,7 @@ static void mini_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19161, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6539,10 +6539,10 @@ static void mini_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19163, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19165, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6559,7 +6559,7 @@ static void mini_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19162, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6592,7 +6592,7 @@ static void mini_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19162, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6605,10 +6605,10 @@ static void mini_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19163, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19165, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6621,7 +6621,7 @@ static void mini_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19161, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6638,7 +6638,7 @@ static void mini_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19164, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6671,7 +6671,7 @@ static void mini_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19157, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6684,7 +6684,7 @@ static void mini_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19158, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6697,10 +6697,10 @@ static void mini_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19156, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19160, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -6717,7 +6717,7 @@ static void mini_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19159, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6750,7 +6750,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19179, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6763,10 +6763,10 @@ static void mini_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19176, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19180, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -6779,7 +6779,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19178, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6796,7 +6796,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19177, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6829,7 +6829,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19184, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6842,7 +6842,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19181, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6855,10 +6855,10 @@ static void mini_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19183, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19185, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -6875,7 +6875,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19182, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6908,7 +6908,7 @@ static void mini_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19169, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6921,10 +6921,10 @@ static void mini_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19166, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19170, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -6937,7 +6937,7 @@ static void mini_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19168, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6954,7 +6954,7 @@ static void mini_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19167, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6987,7 +6987,7 @@ static void mini_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19174, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7000,7 +7000,7 @@ static void mini_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19171, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7013,10 +7013,10 @@ static void mini_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19173, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19175, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7033,7 +7033,7 @@ static void mini_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19172, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7066,7 +7066,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19172, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7078,10 +7078,10 @@ static void mini_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19173, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19175, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7093,7 +7093,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19171, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7109,7 +7109,7 @@ static void mini_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19174, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7143,7 +7143,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19167, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7155,7 +7155,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19168, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7167,10 +7167,10 @@ static void mini_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19166, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19170, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7186,7 +7186,7 @@ static void mini_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_FORK, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19169, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7220,7 +7220,7 @@ static void mini_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19182, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7233,10 +7233,10 @@ static void mini_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19183, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19185, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7249,7 +7249,7 @@ static void mini_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19181, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7266,7 +7266,7 @@ static void mini_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19184, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7299,7 +7299,7 @@ static void mini_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19177, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7312,7 +7312,7 @@ static void mini_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19178, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7325,10 +7325,10 @@ static void mini_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19176, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19180, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7345,7 +7345,7 @@ static void mini_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19179, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7378,7 +7378,7 @@ static void mini_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19155, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7391,7 +7391,7 @@ static void mini_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19152, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7404,7 +7404,7 @@ static void mini_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19154, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7421,7 +7421,7 @@ static void mini_rc_track_diag_left_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19153, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7454,7 +7454,7 @@ static void mini_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19153, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7467,7 +7467,7 @@ static void mini_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19154, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7480,7 +7480,7 @@ static void mini_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19152, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7497,7 +7497,7 @@ static void mini_rc_track_diag_right_bank( session, METAL_SUPPORTS_FORK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19155, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7528,7 +7528,7 @@ static void mini_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18742, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -7538,7 +7538,7 @@ static void mini_rc_track_block_brakes( break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 18743, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -7570,7 +7570,7 @@ static void mini_rc_track_left_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19319, 0, 6, 32, 1, 34, height, 0, 27, height); metal_a_supports_paint_setup( @@ -7613,14 +7613,14 @@ static void mini_rc_track_left_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19318, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19320, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( @@ -7672,7 +7672,7 @@ static void mini_rc_track_right_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19310, 0, 6, 32, 1, 34, height, 0, 27, height); metal_a_supports_paint_setup( @@ -7709,14 +7709,14 @@ static void mini_rc_track_right_banked_quarter_turn_3_25_deg_up( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19309, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19311, 6, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( @@ -7776,26 +7776,26 @@ static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19286, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19291, 0, 0, 32, 1, 34, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19296, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19301, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7820,17 +7820,17 @@ static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 19287, 0, 0, 32, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19292, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19297, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19302, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -7846,17 +7846,17 @@ static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19288, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19293, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19298, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -7876,22 +7876,22 @@ static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19289, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19294, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19299, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19304, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -7907,27 +7907,27 @@ static void mini_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19290, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19295, 0, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19300, 0, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19305, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -7960,26 +7960,26 @@ static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19266, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19271, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19276, 0, 0, 32, 1, 34, height, 0, 27, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19281, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8000,17 +8000,17 @@ static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19267, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19272, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19277, 0, 0, 1, 1, 34, height, 30, 30, height); break; @@ -8034,17 +8034,17 @@ static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 19268, 0, 0, 16, 16, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19273, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19278, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19283, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -8060,22 +8060,22 @@ static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19269, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19274, 0, 0, 1, 32, 34, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19279, 0, 0, 1, 1, 34, height, 30, 30, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19284, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -8091,27 +8091,27 @@ static void mini_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19270, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19275, 0, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19280, 0, 0, 1, 32, 34, height, 27, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19285, 0, 0, 20, 32, 3, height, 6, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 14, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -8161,7 +8161,7 @@ static void mini_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19230, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8170,9 +8170,9 @@ static void mini_rc_track_25_deg_up_to_left_banked_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19231, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19238, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8181,7 +8181,7 @@ static void mini_rc_track_25_deg_up_to_left_banked_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19232, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8190,7 +8190,7 @@ static void mini_rc_track_25_deg_up_to_left_banked_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19233, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8220,7 +8220,7 @@ static void mini_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19234, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8229,7 +8229,7 @@ static void mini_rc_track_25_deg_up_to_right_banked_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19235, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8238,9 +8238,9 @@ static void mini_rc_track_25_deg_up_to_right_banked_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19236, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19239, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8249,7 +8249,7 @@ static void mini_rc_track_25_deg_up_to_right_banked_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19237, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8279,7 +8279,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19240, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8288,9 +8288,9 @@ static void mini_rc_track_left_banked_25_deg_up_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19241, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19248, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8299,7 +8299,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19242, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8308,7 +8308,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19243, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8338,7 +8338,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19244, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8347,7 +8347,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19245, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8356,9 +8356,9 @@ static void mini_rc_track_right_banked_25_deg_up_to_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19246, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19249, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8367,7 +8367,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19247, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8433,7 +8433,7 @@ static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19250, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8442,7 +8442,7 @@ static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19251, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8451,7 +8451,7 @@ static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19252, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8460,7 +8460,7 @@ static void mini_rc_track_left_banked_flat_to_left_banked_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19253, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8490,7 +8490,7 @@ static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19254, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8499,7 +8499,7 @@ static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19255, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8508,7 +8508,7 @@ static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19256, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8517,7 +8517,7 @@ static void mini_rc_track_right_banked_flat_to_right_banked_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19257, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8547,7 +8547,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19258, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8556,7 +8556,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_left_banked_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19259, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8565,7 +8565,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_left_banked_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19260, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8574,7 +8574,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_left_banked_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19261, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8604,7 +8604,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19262, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8613,7 +8613,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_right_banked_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19263, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8622,7 +8622,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_right_banked_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19264, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8631,7 +8631,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_right_banked_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19265, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8697,7 +8697,7 @@ static void mini_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19202, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8706,9 +8706,9 @@ static void mini_rc_track_flat_to_left_banked_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19203, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19210, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8717,7 +8717,7 @@ static void mini_rc_track_flat_to_left_banked_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19204, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8726,7 +8726,7 @@ static void mini_rc_track_flat_to_left_banked_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19205, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8756,7 +8756,7 @@ static void mini_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19206, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8765,7 +8765,7 @@ static void mini_rc_track_flat_to_right_banked_25_deg_up( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19207, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8774,9 +8774,9 @@ static void mini_rc_track_flat_to_right_banked_25_deg_up( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19208, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19211, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8785,7 +8785,7 @@ static void mini_rc_track_flat_to_right_banked_25_deg_up( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19209, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8815,7 +8815,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19212, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8824,9 +8824,9 @@ static void mini_rc_track_left_banked_25_deg_up_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19213, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19220, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8835,7 +8835,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19214, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8844,7 +8844,7 @@ static void mini_rc_track_left_banked_25_deg_up_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19215, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8874,7 +8874,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19216, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8883,7 +8883,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_flat( } break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19217, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8892,9 +8892,9 @@ static void mini_rc_track_right_banked_25_deg_up_to_flat( } break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19218, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19221, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -8903,7 +8903,7 @@ static void mini_rc_track_right_banked_25_deg_up_to_flat( } break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 19219, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -9155,7 +9155,7 @@ static void mini_rc_track_booster( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_G2_MINI_RC_BOOSTER_NE_SW, ne_sw_offsetX, ne_sw_offsetY, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) @@ -9166,7 +9166,7 @@ static void mini_rc_track_booster( break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_G2_MINI_RC_BOOSTER_NW_SE, nw_se_offsetX, nw_se_offsetY, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) diff --git a/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp b/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp index 93a51b25be..107e21ab25 100644 --- a/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp +++ b/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp @@ -92,11 +92,11 @@ static void mini_suspended_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 28434, SPR_STATION_INVERTED_BAR_E_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); sub_98196C_rotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height + 24); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 2, height); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3); @@ -116,22 +116,22 @@ static void mini_suspended_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28435, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28441, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28437, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28442, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; @@ -142,22 +142,22 @@ static void mini_suspended_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28385, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28391, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28387, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28392, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 40); break; @@ -210,22 +210,22 @@ static void mini_suspended_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28436, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28443, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28438, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28444, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; @@ -236,22 +236,22 @@ static void mini_suspended_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28386, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28393, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28388, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28394, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; @@ -304,22 +304,22 @@ static void mini_suspended_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28440, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28446, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28439, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28445, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; @@ -330,22 +330,22 @@ static void mini_suspended_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28390, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28396, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28389, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28395, 0, 6, 32, 20, 1, height + 24, 0, 6, height + 32); break; @@ -1120,22 +1120,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28475, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28479, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28483, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28487, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; @@ -1167,22 +1167,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28476, 0, 0, 32, 16, 1, height + 24, 0, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28480, 0, 0, 34, 16, 1, height + 24, 0, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28484, 0, 0, 32, 16, 1, height + 24, 0, 16, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28488, 0, 0, 32, 16, 1, height + 24, 0, 16, height + 24); break; @@ -1198,22 +1198,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28477, 0, 0, 16, 16, 1, height + 24, 0, 16, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28481, 0, 0, 16, 16, 1, height + 24, 16, 16, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28485, 0, 0, 16, 16, 1, height + 24, 16, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28489, 0, 0, 16, 16, 1, height + 24, 0, 0, height + 24); break; @@ -1232,22 +1232,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28478, 0, 0, 16, 16, 1, height + 24, 16, 16, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28482, 0, 0, 16, 18, 1, height + 24, 0, 16, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28486, 0, 0, 16, 16, 1, height + 24, 0, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28490, 0, 0, 16, 16, 1, height + 24, 16, 0, height + 24); break; @@ -1294,22 +1294,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28459, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28463, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28467, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28471, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 24); break; @@ -1341,22 +1341,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28460, 0, 0, 32, 16, 1, height + 24, 0, 16, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28464, 0, 0, 32, 16, 1, height + 24, 0, 16, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28468, 0, 0, 34, 16, 1, height + 24, 0, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28472, 0, 0, 32, 16, 1, height + 24, 0, 0, height + 24); break; @@ -1372,22 +1372,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28461, 0, 0, 16, 16, 1, height + 24, 0, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28465, 0, 0, 16, 16, 1, height + 24, 16, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28469, 0, 0, 28, 28, 1, height + 24, 4, 2, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28473, 0, 0, 16, 16, 1, height + 24, 0, 16, height + 24); break; @@ -1406,22 +1406,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28462, 0, 0, 16, 16, 1, height + 24, 16, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28466, 0, 0, 16, 16, 1, height + 24, 0, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28470, 0, 0, 16, 18, 1, height + 24, 0, 16, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28474, 0, 0, 16, 16, 1, height + 24, 16, 16, height + 24); break; @@ -1488,7 +1488,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28510, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1499,7 +1499,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28494, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1515,7 +1515,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28507, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1526,7 +1526,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28491, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1542,7 +1542,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28509, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1553,7 +1553,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28493, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1569,7 +1569,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28508, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1580,7 +1580,7 @@ static void mini_suspended_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28492, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 24); break; @@ -1627,7 +1627,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28522, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1638,7 +1638,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28506, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1654,7 +1654,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28519, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1665,7 +1665,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28503, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1681,7 +1681,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28521, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1692,7 +1692,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28505, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1708,7 +1708,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28520, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1719,7 +1719,7 @@ static void mini_suspended_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28504, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -1766,7 +1766,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28514, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1777,7 +1777,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28498, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1793,7 +1793,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28511, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1804,7 +1804,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28495, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1820,7 +1820,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28513, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1831,7 +1831,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28497, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1847,7 +1847,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28512, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1858,7 +1858,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28496, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1905,7 +1905,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28518, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1916,7 +1916,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28502, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1932,7 +1932,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28515, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1943,7 +1943,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28499, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1959,7 +1959,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28517, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1970,7 +1970,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28501, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1986,7 +1986,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28516, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -1997,7 +1997,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28500, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2044,7 +2044,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28520, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2055,7 +2055,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28504, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2071,7 +2071,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28521, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2082,7 +2082,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28505, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2098,7 +2098,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28519, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2109,7 +2109,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28503, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2125,7 +2125,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28522, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2136,7 +2136,7 @@ static void mini_suspended_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28506, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 40); break; @@ -2183,7 +2183,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28516, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2194,7 +2194,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28500, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2209,7 +2209,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28517, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2220,7 +2220,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28501, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2235,7 +2235,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28515, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2246,7 +2246,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28499, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2261,7 +2261,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28518, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2272,7 +2272,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28502, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2319,7 +2319,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28512, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2330,7 +2330,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28496, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2346,7 +2346,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28513, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2357,7 +2357,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28497, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2373,7 +2373,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28511, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2384,7 +2384,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28495, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2400,7 +2400,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28514, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; @@ -2411,7 +2411,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28498, -16, -16, 32, 32, 1, height + 24, -16, -16, height + 32); break; diff --git a/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp b/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp index 44d225148c..e44b0eba26 100644 --- a/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp @@ -32,12 +32,12 @@ static void multi_dimension_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15808, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15809, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -53,12 +53,12 @@ static void multi_dimension_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15806, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15807, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -78,13 +78,13 @@ static void multi_dimension_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26227, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26228, 0, 0, 32, 20, 1, height + 24, 0, 6, height + 22); break; @@ -117,13 +117,13 @@ static void multi_dimension_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 26, 1, height, 0, 3, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 26, 1, height, 0, 3, height + 3); } @@ -174,19 +174,19 @@ static void multi_dimension_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15908, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15909, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15910, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15911, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -201,19 +201,19 @@ static void multi_dimension_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15880, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15881, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15882, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15883, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -239,22 +239,22 @@ static void multi_dimension_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26253, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26254, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26255, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26256, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 40); break; @@ -307,19 +307,19 @@ static void multi_dimension_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15896, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15897, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15898, 0, 0, 32, 1, 98, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15899, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -344,22 +344,22 @@ static void multi_dimension_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26269, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26270, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26271, 0, 0, 32, 2, 81, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26272, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 88); break; @@ -390,19 +390,19 @@ static void multi_dimension_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15900, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15901, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15902, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15903, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -417,19 +417,19 @@ static void multi_dimension_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15872, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15873, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15874, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15875, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -455,22 +455,22 @@ static void multi_dimension_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26245, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26246, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26247, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26248, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -523,23 +523,23 @@ static void multi_dimension_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15884, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15885, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15888, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15886, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15889, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15887, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -564,28 +564,28 @@ static void multi_dimension_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26257, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26261, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26258, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26262, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26259, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26260, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -614,23 +614,23 @@ static void multi_dimension_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15890, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15891, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15894, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15892, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15895, 0, 0, 32, 1, 66, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15893, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -655,28 +655,28 @@ static void multi_dimension_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26263, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26267, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26264, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26268, 0, 0, 32, 10, 49, height + 24, 0, 10, height + 6); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26265, 0, 0, 32, 2, 49, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26266, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -731,19 +731,19 @@ static void multi_dimension_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15904, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15905, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15906, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15907, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -758,19 +758,19 @@ static void multi_dimension_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15876, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15877, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15878, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15879, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -796,22 +796,22 @@ static void multi_dimension_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26249, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26250, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26251, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26252, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -917,22 +917,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15921, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15926, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15931, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15916, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -953,22 +953,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15920, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15925, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15930, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15915, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -984,22 +984,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15919, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15924, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15929, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15914, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -1016,22 +1016,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15918, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15923, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15928, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15913, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1047,22 +1047,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15917, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15922, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15927, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15912, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -1093,22 +1093,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26310, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26315, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26320, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26305, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1134,22 +1134,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26309, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26314, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26319, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26304, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -1165,22 +1165,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26308, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26313, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26318, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26303, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -1197,22 +1197,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26307, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26312, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26317, 0, 0, 16, 32, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26302, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 22); break; @@ -1228,22 +1228,22 @@ static void multi_dimension_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26306, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26311, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26316, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26301, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -1290,23 +1290,23 @@ static void multi_dimension_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15832, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15840, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15833, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15841, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15834, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15835, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1324,22 +1324,22 @@ static void multi_dimension_rc_track_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26273, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26274, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26275, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26276, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1370,23 +1370,23 @@ static void multi_dimension_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15836, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15837, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15838, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15842, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15839, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15843, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1404,22 +1404,22 @@ static void multi_dimension_rc_track_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26277, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26278, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26279, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26280, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1450,23 +1450,23 @@ static void multi_dimension_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15838, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15842, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15839, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15843, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15836, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15837, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -1484,22 +1484,22 @@ static void multi_dimension_rc_track_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26279, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26280, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26277, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26278, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1530,23 +1530,23 @@ static void multi_dimension_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15834, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15835, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15832, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15840, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15833, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15841, 0, 0, 32, 1, 26, height, 0, 27, height); break; } @@ -1564,22 +1564,22 @@ static void multi_dimension_rc_track_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26275, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26276, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26273, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26274, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -1613,25 +1613,25 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15941, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15952, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15946, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15951, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15936, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -1652,22 +1652,22 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15940, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15945, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15950, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15935, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1683,22 +1683,22 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15939, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15944, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15949, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15934, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -1715,22 +1715,22 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15938, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15943, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15948, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15933, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -1746,25 +1746,25 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15937, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15942, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15947, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15953, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15932, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -1795,22 +1795,22 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26354, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26359, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26364, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26349, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -1844,12 +1844,12 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26358, 0, 0, 32, 16, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26363, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26348, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 24); break; @@ -1865,17 +1865,17 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26352, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26357, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26362, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 24); break; @@ -1896,7 +1896,7 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26351, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 24); break; @@ -1909,7 +1909,7 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26361, 0, 0, 16, 32, 3, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26346, 0, 0, 16, 32, 3, height + 24, 16, 0, height + 24); break; @@ -1925,22 +1925,22 @@ static void multi_dimension_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26350, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26355, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26360, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26345, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 24); break; @@ -1988,23 +1988,23 @@ static void multi_dimension_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15844, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15848, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15845, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15849, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15846, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15847, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2029,22 +2029,22 @@ static void multi_dimension_rc_track_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26281, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26282, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26283, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26284, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2099,23 +2099,23 @@ static void multi_dimension_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15850, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15851, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15852, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15854, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15853, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15855, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -2140,22 +2140,22 @@ static void multi_dimension_rc_track_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26285, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26286, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26287, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26288, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2210,23 +2210,23 @@ static void multi_dimension_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15856, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15860, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15857, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15861, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15858, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15859, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2251,22 +2251,22 @@ static void multi_dimension_rc_track_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26289, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26290, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26291, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26292, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2321,23 +2321,23 @@ static void multi_dimension_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15862, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15863, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15864, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15866, 0, 0, 32, 1, 34, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15865, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15867, 0, 0, 32, 1, 34, height, 0, 27, height); break; } @@ -2362,22 +2362,22 @@ static void multi_dimension_rc_track_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26293, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26294, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26295, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26296, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 32); break; @@ -2468,19 +2468,19 @@ static void multi_dimension_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15868, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15869, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15870, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15871, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2498,22 +2498,22 @@ static void multi_dimension_rc_track_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26297, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26298, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26299, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26300, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -2555,22 +2555,22 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15816, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15820, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15819, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15823, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -2600,12 +2600,12 @@ static void multi_dimension_rc_track_s_bend_left( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 1, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15818, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15822, 0, 0, 32, 26, 3, height, 0, 6, height); break; @@ -2617,12 +2617,12 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15818, 0, 0, 32, 26, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15822, 0, 0, 32, 26, 3, height, 0, 6, height); break; @@ -2646,22 +2646,22 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15819, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15823, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15816, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15820, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -2690,22 +2690,22 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26229, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26233, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26232, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26236, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -2727,22 +2727,22 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26230, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26234, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26231, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26235, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; @@ -2771,22 +2771,22 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26231, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26235, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26230, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26234, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; @@ -2815,22 +2815,22 @@ static void multi_dimension_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26232, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26236, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26229, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26233, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -2870,22 +2870,22 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15824, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15828, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15827, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15831, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -2903,14 +2903,14 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15825, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15829, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( @@ -2940,14 +2940,14 @@ static void multi_dimension_rc_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 15830, 0, 0, 32, 26, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15825, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15829, 0, 0, 32, 26, 3, height, 0, 6, height); metal_a_supports_paint_setup( @@ -2961,22 +2961,22 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15827, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15831, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15824, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15828, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3005,22 +3005,22 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26237, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26241, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26240, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26244, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3042,22 +3042,22 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26238, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26242, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26239, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26243, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; @@ -3086,22 +3086,22 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26239, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26243, 0, 0, 32, 26, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26238, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26242, 0, 0, 32, 26, 3, height + 24, 0, 6, height + 22); break; @@ -3130,22 +3130,22 @@ static void multi_dimension_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26240, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26244, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26237, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26241, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3185,22 +3185,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15959, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15962, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15965, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15956, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3221,22 +3221,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15958, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15961, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15964, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15955, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3250,22 +3250,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15957, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15960, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15963, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15954, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -3296,22 +3296,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26326, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26329, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26332, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26323, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3337,22 +3337,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26325, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26328, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26331, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26322, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -3366,22 +3366,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26324, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26327, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26330, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26321, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -3431,25 +3431,25 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15971, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15978, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15974, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15977, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15968, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -3470,22 +3470,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15970, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15973, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15976, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15967, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3499,25 +3499,25 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15969, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15972, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15975, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15979, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15966, 0, 0, 20, 32, 3, height, 6, 0, height); break; @@ -3548,22 +3548,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26338, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26341, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26344, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26335, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -3589,22 +3589,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26337, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26340, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26343, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26334, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -3618,22 +3618,22 @@ static void multi_dimension_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26336, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26339, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26342, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26333, 0, 0, 20, 32, 3, height + 24, 6, 0, height + 22); break; @@ -3682,23 +3682,23 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16197, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16204, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16200, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16203, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16194, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3718,22 +3718,22 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16196, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16199, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16202, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16193, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3746,23 +3746,23 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16195, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16198, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16201, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16205, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16192, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3786,23 +3786,23 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16194, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16197, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16204, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16200, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16203, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3827,22 +3827,22 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16193, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16196, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16199, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16202, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3855,22 +3855,22 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16192, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16195, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16198, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16201, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16205, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3898,22 +3898,22 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16178, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16181, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16184, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16187, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16191, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3934,22 +3934,22 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16179, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16182, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16185, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16188, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3962,23 +3962,23 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16180, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16183, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16190, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16186, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16189, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4000,23 +4000,23 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16181, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16184, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16187, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16191, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16178, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4043,22 +4043,22 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16182, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16185, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16188, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16179, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -4071,23 +4071,23 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16183, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16190, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16186, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16189, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16180, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4144,23 +4144,23 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16165, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16176, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16170, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16175, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16160, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4180,21 +4180,21 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16164, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16169, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16174, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16159, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4210,22 +4210,22 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16163, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16168, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16173, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16158, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4240,21 +4240,21 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16162, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16167, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16172, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16157, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4270,23 +4270,23 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16161, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16166, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16171, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16177, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16156, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4310,23 +4310,23 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16160, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16165, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16176, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16170, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16175, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4351,21 +4351,21 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16159, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16164, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16169, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16174, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4381,21 +4381,21 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16158, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16163, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16168, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16173, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4411,22 +4411,22 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16157, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16162, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16167, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16172, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4441,22 +4441,22 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16156, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16161, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16166, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16171, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16177, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4484,22 +4484,22 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16134, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16139, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16144, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16149, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16155, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4520,22 +4520,22 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16135, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16140, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16145, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16150, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4550,21 +4550,21 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16136, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16141, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16146, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16151, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4580,21 +4580,21 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16137, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16142, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16147, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16152, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4610,23 +4610,23 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16138, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16143, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16154, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16148, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16153, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4648,23 +4648,23 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16139, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16144, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16149, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16155, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16134, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4691,21 +4691,21 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16140, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16145, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16150, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16135, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4721,22 +4721,22 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16141, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16146, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16151, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16136, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4751,21 +4751,21 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16142, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16147, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16152, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16137, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4781,23 +4781,23 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16143, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16154, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16148, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16153, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16138, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4854,12 +4854,12 @@ static void multi_dimension_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16218, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16219, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4878,13 +4878,13 @@ static void multi_dimension_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26549, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26550, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -4918,7 +4918,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15806, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 1: @@ -4927,7 +4927,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15807, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 2: @@ -4936,7 +4936,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15806, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; case 3: @@ -4945,7 +4945,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15807, 0, 0, 32, 20, 0, height, 0, 6, height + 3); break; } @@ -4964,7 +4964,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26227, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -4974,7 +4974,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26228, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -4984,7 +4984,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26227, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -4994,7 +4994,7 @@ static void multi_dimension_rc_track_on_ride_photo( session, METAL_SUPPORTS_TUBES_INVERTED, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26228, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -5019,22 +5019,22 @@ static void multi_dimension_rc_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16130, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16131, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16132, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16133, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -5056,22 +5056,22 @@ static void multi_dimension_rc_track_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26533, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26534, 0, 0, 32, 2, 31, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26535, 0, 0, 32, 2, 31, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26536, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 56); break; @@ -5108,22 +5108,22 @@ static void multi_dimension_rc_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16122, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16123, 0, 0, 2, 20, 55, height, 24, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16124, 0, 0, 2, 20, 55, height, 24, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16125, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -5149,22 +5149,22 @@ static void multi_dimension_rc_track_60_deg_up_to_90_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26525, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 80); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26526, 0, 0, 32, 2, 55, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26527, 0, 0, 32, 2, 55, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26528, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 80); break; @@ -5203,21 +5203,21 @@ static void multi_dimension_rc_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16126, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16127, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16128, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16129, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; } @@ -5239,22 +5239,22 @@ static void multi_dimension_rc_track_90_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26529, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 80); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26530, 0, 0, 32, 2, 55, height + 24, 0, 4, height + 6); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26531, 0, 0, 32, 2, 55, height + 24, 0, 4, height + 6); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26532, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 80); break; @@ -5287,22 +5287,22 @@ static void multi_dimension_rc_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16128, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16129, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16126, 0, 0, 6, 20, 3, height, 0, 6, height + 2); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16127, 0, 0, 2, 20, 31, height, 39, 6, height + 8); break; @@ -5327,22 +5327,22 @@ static void multi_dimension_rc_track_60_deg_down_to_90_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26531, 0, 0, 32, 2, 55, height + 24, 0, 4, height + 6); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26532, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 80); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26529, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 80); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26530, 0, 0, 32, 2, 55, height + 24, 0, 4, height + 6); break; @@ -5374,22 +5374,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15996, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16000, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16004, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16008, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -5407,22 +5407,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15997, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16001, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16005, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16009, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -5434,22 +5434,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15998, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16002, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16006, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16010, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -5470,28 +5470,28 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15999, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16003, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16007, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16011, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -5511,22 +5511,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26405, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26409, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26413, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26417, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -5547,22 +5547,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26406, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26410, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26414, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26418, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -5578,22 +5578,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26407, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26411, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26415, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26419, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -5614,22 +5614,22 @@ static void multi_dimension_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26408, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26412, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26416, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26420, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; @@ -5679,22 +5679,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15980, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15984, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15988, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15992, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -5712,22 +5712,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15981, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15985, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15989, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15993, 0, 0, 32, 16, 3, height, 0, 0, height); break; @@ -5739,22 +5739,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15982, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15986, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15990, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15994, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5775,28 +5775,28 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15983, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15987, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15991, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 15995, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -5816,22 +5816,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26389, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26393, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26397, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26401, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -5852,22 +5852,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26390, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26394, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26398, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26402, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; @@ -5883,22 +5883,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26391, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26395, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26399, 0, 0, 28, 28, 3, height + 24, 4, 4, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26403, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; @@ -5919,22 +5919,22 @@ static void multi_dimension_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26392, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26396, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26400, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26404, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -6002,22 +6002,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16028, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16032, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16036, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16040, 0, 0, 32, 20, 3, height, 0, 6, height); break; @@ -6035,22 +6035,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16029, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16033, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16037, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16041, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -6062,22 +6062,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16030, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16034, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16038, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16042, 0, 0, 16, 16, 3, height, 0, 0, height); break; @@ -6098,28 +6098,28 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16031, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16035, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16039, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16043, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -6139,22 +6139,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26437, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26441, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26445, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26449, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -6176,22 +6176,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26438, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26442, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26446, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26450, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; @@ -6207,22 +6207,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26439, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26443, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26447, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26451, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; @@ -6243,22 +6243,22 @@ static void multi_dimension_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26440, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26444, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26448, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26452, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; @@ -6308,22 +6308,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16012, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16016, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16020, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16024, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -6341,22 +6341,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16013, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16017, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16021, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16025, 0, 0, 32, 16, 3, height, 0, 0, height); break; @@ -6368,22 +6368,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16014, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16018, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16022, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16026, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -6404,28 +6404,28 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16015, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16019, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16023, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES_INVERTED, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16027, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -6445,22 +6445,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26421, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26425, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26429, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26433, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 22); break; @@ -6482,22 +6482,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26422, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26426, 0, 0, 32, 16, 3, height + 24, 0, 16, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26430, 0, 0, 34, 16, 3, height + 24, 0, 0, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26434, 0, 0, 32, 16, 3, height + 24, 0, 0, height + 22); break; @@ -6513,22 +6513,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26423, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26427, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26431, 0, 0, 28, 28, 3, height + 24, 4, 4, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26435, 0, 0, 16, 16, 3, height + 24, 0, 16, height + 22); break; @@ -6549,22 +6549,22 @@ static void multi_dimension_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26424, 0, 0, 16, 16, 3, height + 24, 16, 0, height + 22); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26428, 0, 0, 16, 16, 3, height + 24, 0, 0, height + 22); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26432, 0, 0, 16, 18, 3, height + 24, 0, 16, height + 22); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26436, 0, 0, 16, 16, 3, height + 24, 16, 16, height + 22); break; @@ -6636,7 +6636,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16109, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6647,7 +6647,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16047, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6664,7 +6664,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16106, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6675,7 +6675,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16044, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6692,7 +6692,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16108, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6703,7 +6703,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16046, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6724,7 +6724,7 @@ static void multi_dimension_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16107, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6749,7 +6749,7 @@ static void multi_dimension_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16045, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -6782,7 +6782,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26484, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6793,7 +6793,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26456, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6810,7 +6810,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26481, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6821,7 +6821,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26453, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6838,7 +6838,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26483, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6849,7 +6849,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26455, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6866,7 +6866,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26482, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6877,7 +6877,7 @@ static void multi_dimension_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26454, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -6928,7 +6928,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16121, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6939,7 +6939,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16059, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6956,7 +6956,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16118, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6967,7 +6967,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16056, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6984,7 +6984,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16120, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6995,7 +6995,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16058, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7016,7 +7016,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16119, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7041,7 +7041,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16057, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7074,7 +7074,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26496, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7085,7 +7085,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26468, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7102,7 +7102,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26493, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7113,7 +7113,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26465, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7130,7 +7130,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26495, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7141,7 +7141,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26467, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7158,7 +7158,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26494, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7169,7 +7169,7 @@ static void multi_dimension_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26466, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -7218,7 +7218,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16071, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7232,7 +7232,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16068, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7246,7 +7246,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16070, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7264,7 +7264,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16069, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7294,7 +7294,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26480, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -7308,7 +7308,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26477, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -7322,7 +7322,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26479, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -7336,7 +7336,7 @@ static void multi_dimension_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26478, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 24); break; @@ -7386,7 +7386,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16113, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7397,7 +7397,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16051, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7414,7 +7414,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16110, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7425,7 +7425,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16048, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7442,7 +7442,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16112, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7453,7 +7453,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16050, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7474,7 +7474,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16111, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7499,7 +7499,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16049, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7532,7 +7532,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26488, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7543,7 +7543,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26460, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7560,7 +7560,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26485, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7571,7 +7571,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26457, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7588,7 +7588,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26487, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7599,7 +7599,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26459, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7616,7 +7616,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26486, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7627,7 +7627,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26458, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -7676,7 +7676,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16063, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7690,7 +7690,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16060, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7704,7 +7704,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16062, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7722,7 +7722,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16061, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7752,7 +7752,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26472, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7766,7 +7766,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26469, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7780,7 +7780,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26471, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7794,7 +7794,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26470, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7842,7 +7842,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16067, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7856,7 +7856,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16064, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7870,7 +7870,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16066, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7888,7 +7888,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16065, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -7918,7 +7918,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26476, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7932,7 +7932,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26473, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7946,7 +7946,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26475, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -7960,7 +7960,7 @@ static void multi_dimension_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26474, -16, -16, 16, 16, 3, height + 24, 0, 0, height + 56); break; @@ -8010,7 +8010,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16117, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8021,7 +8021,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16055, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8038,7 +8038,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16114, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8049,7 +8049,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16052, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8066,7 +8066,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16116, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8077,7 +8077,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16054, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8098,7 +8098,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16115, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8123,7 +8123,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16053, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8156,7 +8156,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26492, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8167,7 +8167,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26464, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8184,7 +8184,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26489, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8195,7 +8195,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26461, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8212,7 +8212,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26491, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8223,7 +8223,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26463, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8240,7 +8240,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26490, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8251,7 +8251,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26462, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8302,7 +8302,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16119, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8313,7 +8313,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16057, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8330,7 +8330,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16120, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8341,7 +8341,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16058, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8358,7 +8358,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16118, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8369,7 +8369,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16056, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8390,7 +8390,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16121, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8415,7 +8415,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16059, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8446,7 +8446,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26466, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8460,7 +8460,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26467, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8474,7 +8474,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26465, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8488,7 +8488,7 @@ static void multi_dimension_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26468, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 40); break; @@ -8536,7 +8536,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16069, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8550,7 +8550,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16070, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8564,7 +8564,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16068, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8582,7 +8582,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16071, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8612,7 +8612,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26478, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 24); break; @@ -8626,7 +8626,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26479, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -8640,7 +8640,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26477, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -8654,7 +8654,7 @@ static void multi_dimension_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26480, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 88); break; @@ -8704,7 +8704,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16115, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8715,7 +8715,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16053, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8731,7 +8731,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16116, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8742,7 +8742,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16054, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8758,7 +8758,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16114, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8769,7 +8769,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16052, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8789,7 +8789,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16117, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8814,7 +8814,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16055, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8844,7 +8844,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26462, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8858,7 +8858,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26463, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8872,7 +8872,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26461, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8886,7 +8886,7 @@ static void multi_dimension_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26464, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -8934,7 +8934,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16065, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -8948,7 +8948,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16066, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8962,7 +8962,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16064, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8980,7 +8980,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16067, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9010,7 +9010,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26474, -16, -16, 16, 16, 3, height + 24, 0, 0, height + 56); break; @@ -9024,7 +9024,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26475, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9038,7 +9038,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26473, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9052,7 +9052,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26476, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9100,7 +9100,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16061, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9114,7 +9114,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16062, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9128,7 +9128,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16060, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9146,7 +9146,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16063, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9176,7 +9176,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26470, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9190,7 +9190,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26471, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9204,7 +9204,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26469, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9218,7 +9218,7 @@ static void multi_dimension_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26472, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 56); break; @@ -9268,7 +9268,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16111, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9279,7 +9279,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16049, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9296,7 +9296,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16112, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9307,7 +9307,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16050, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9324,7 +9324,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16110, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9335,7 +9335,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16048, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9356,7 +9356,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16113, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9381,7 +9381,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16051, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -9412,7 +9412,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26458, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9426,7 +9426,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26459, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9440,7 +9440,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26457, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9454,7 +9454,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26460, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -9502,7 +9502,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16079, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9516,10 +9516,10 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16076, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16080, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -9533,7 +9533,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16078, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9551,7 +9551,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16077, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -9581,7 +9581,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26504, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9595,7 +9595,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26501, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9609,7 +9609,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26503, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9623,7 +9623,7 @@ static void multi_dimension_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26502, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9672,7 +9672,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16084, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9686,7 +9686,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16081, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9700,10 +9700,10 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16083, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16085, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -9721,7 +9721,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16082, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -9751,7 +9751,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26508, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9765,7 +9765,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26505, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9779,7 +9779,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26507, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9793,7 +9793,7 @@ static void multi_dimension_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26506, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9842,7 +9842,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16082, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9856,10 +9856,10 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16083, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16085, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -9873,7 +9873,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16081, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -9891,7 +9891,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16084, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -9921,7 +9921,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26506, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9935,7 +9935,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26507, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9949,7 +9949,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26505, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -9963,7 +9963,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26508, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -10012,7 +10012,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16077, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10026,7 +10026,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16078, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10040,10 +10040,10 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16076, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16080, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -10061,7 +10061,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16079, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -10091,7 +10091,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26502, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -10105,7 +10105,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26503, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -10119,7 +10119,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26501, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -10133,7 +10133,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26504, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -10182,7 +10182,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16099, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10196,10 +10196,10 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16096, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -10213,7 +10213,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16098, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10231,7 +10231,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16097, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10261,7 +10261,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26520, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10275,7 +10275,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26517, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10289,7 +10289,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26519, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10303,7 +10303,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26518, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10351,7 +10351,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16104, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10365,7 +10365,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16101, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10379,10 +10379,10 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16103, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -10400,7 +10400,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16102, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10430,7 +10430,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26524, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10444,7 +10444,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26521, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10458,7 +10458,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26523, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10472,7 +10472,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26522, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10520,7 +10520,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16089, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10534,10 +10534,10 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16086, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16090, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -10551,7 +10551,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16088, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10569,7 +10569,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16087, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10599,7 +10599,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26512, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10613,7 +10613,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26509, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10627,7 +10627,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26511, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10641,7 +10641,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26510, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10689,7 +10689,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16094, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10703,7 +10703,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16091, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10717,10 +10717,10 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16093, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16095, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -10738,7 +10738,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16092, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10768,7 +10768,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26516, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10782,7 +10782,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26513, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10796,7 +10796,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26515, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10810,7 +10810,7 @@ static void multi_dimension_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26514, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10858,7 +10858,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16092, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10871,10 +10871,10 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16093, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16095, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -10887,7 +10887,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16091, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -10904,7 +10904,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16094, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -10933,7 +10933,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26514, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10946,7 +10946,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26515, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10959,7 +10959,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26513, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -10972,7 +10972,7 @@ static void multi_dimension_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26516, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11020,7 +11020,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16087, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11033,7 +11033,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16088, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11046,10 +11046,10 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16086, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16090, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -11066,7 +11066,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16089, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11095,7 +11095,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26510, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11108,7 +11108,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26511, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11121,7 +11121,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26509, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11134,7 +11134,7 @@ static void multi_dimension_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26512, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11182,7 +11182,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16102, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11196,10 +11196,10 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16103, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -11213,7 +11213,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16101, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11231,7 +11231,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16104, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11261,7 +11261,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26522, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11275,7 +11275,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26523, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11289,7 +11289,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26521, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11303,7 +11303,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26524, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11351,7 +11351,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16097, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11365,7 +11365,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16098, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11379,10 +11379,10 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16096, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -11400,7 +11400,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16099, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -11430,7 +11430,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26518, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11444,7 +11444,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26519, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11458,7 +11458,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26517, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11472,7 +11472,7 @@ static void multi_dimension_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26520, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 32); break; @@ -11520,7 +11520,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16075, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11534,7 +11534,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16072, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -11548,7 +11548,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16074, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11566,7 +11566,7 @@ static void multi_dimension_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16073, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -11596,7 +11596,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26500, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11610,7 +11610,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26497, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11624,7 +11624,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26499, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11638,7 +11638,7 @@ static void multi_dimension_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26498, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11687,7 +11687,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16073, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11701,7 +11701,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16074, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -11715,7 +11715,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16072, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -11733,7 +11733,7 @@ static void multi_dimension_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES_INVERTED, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16075, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -11763,7 +11763,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26498, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11777,7 +11777,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26499, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11791,7 +11791,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26497, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11805,7 +11805,7 @@ static void multi_dimension_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26500, -16, -16, 32, 32, 3, height + 24, -16, -16, height + 22); break; @@ -11885,7 +11885,7 @@ static void multi_dimension_rc_track_left_flyer_twist_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26369, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -11913,7 +11913,7 @@ static void multi_dimension_rc_track_left_flyer_twist_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26370, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -12082,7 +12082,7 @@ static void multi_dimension_rc_track_left_flyer_twist_down( session, direction, session->TrackColours[SCHEME_TRACK] | 26371, 0, 6, 32, 20, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26370, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -12118,7 +12118,7 @@ static void multi_dimension_rc_track_left_flyer_twist_down( session, direction, session->TrackColours[SCHEME_TRACK] | 26372, 0, 6, 32, 20, 3, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26369, 0, 6, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -12298,22 +12298,22 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26539, 0, 0, 32, 20, 3, height + 16, 0, 6, height + 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26542, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26545, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26548, 0, 0, 32, 20, 3, height + 16, 0, 6, height + 16); break; @@ -12330,22 +12330,22 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26538, 0, 0, 2, 20, 31, height + 16, 24, 6, height + 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26541, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26544, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26547, 0, 0, 2, 20, 31, height + 16, 24, 6, height + 16); break; @@ -12358,22 +12358,22 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26537, 0, 0, 2, 20, 31, height + 16, 28, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26540, 0, 0, 2, 20, 31, height + 16, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26543, 0, 0, 2, 20, 31, height + 16, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26546, 0, 0, 2, 20, 31, height + 16, 29, 6, height + 24); break; @@ -12394,22 +12394,22 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16208, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16211, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16214, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16217, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -12426,22 +12426,22 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16207, 0, 0, 2, 20, 31, height, -8, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16210, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16213, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16216, 0, 0, 2, 20, 31, height, -8, 6, height); break; @@ -12454,22 +12454,22 @@ static void multi_dimension_rc_track_multidim_inverted_flat_to_90_deg_quarter_lo switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16206, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16209, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16212, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16215, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -12495,12 +12495,12 @@ static void multi_dimension_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16220, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16221, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -12516,13 +12516,13 @@ static void multi_dimension_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26551, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26552, 0, 0, 32, 20, 3, height + 24, 0, 6, height + 24); break; @@ -12554,22 +12554,22 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16206, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16209, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16212, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16215, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -12582,22 +12582,22 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16207, 0, 0, 2, 20, 31, height, -8, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16210, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16213, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16216, 0, 0, 2, 20, 31, height, -8, 6, height); break; @@ -12610,22 +12610,22 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16208, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16211, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16214, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16217, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -12648,22 +12648,22 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26537, 0, 0, 2, 20, 31, height - 16, 28, 6, height - 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26540, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26543, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26546, 0, 0, 2, 20, 31, height - 16, 28, 6, height - 8); break; @@ -12676,22 +12676,22 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26538, 0, 0, 2, 20, 31, height - 16, 24, 6, height - 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26541, 0, 0, 2, 20, 63, height - 16, 0, 6, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26544, 0, 0, 2, 20, 63, height - 16, 0, 6, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26547, 0, 0, 2, 20, 31, height - 16, 24, 6, height - 16); break; @@ -12704,22 +12704,22 @@ static void multi_dimension_rc_track_multidim_90_deg_up_to_inverted_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26539, 0, 0, 32, 20, 3, height - 16, 0, 6, height - 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26542, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26545, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26548, 0, 0, 32, 20, 3, height - 16, 0, 6, height - 16); break; @@ -12749,22 +12749,22 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26539, 0, 0, 32, 20, 3, height + 16, 0, 6, height + 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26542, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26545, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26548, 0, 0, 32, 20, 3, height + 16, 0, 6, height + 16); break; @@ -12781,22 +12781,22 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26538, 0, 0, 2, 20, 31, height + 16, 24, 6, height + 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26541, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26544, 0, 0, 2, 20, 3, height + 16, 0, 6, height + 18); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26547, 0, 0, 2, 20, 31, height + 16, 24, 6, height + 16); break; @@ -12809,22 +12809,22 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26537, 0, 0, 2, 20, 31, height + 16, 28, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26540, 0, 0, 2, 20, 31, height + 16, 0, 6, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26543, 0, 0, 2, 20, 31, height + 16, 0, 6, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26546, 0, 0, 2, 20, 31, height + 16, 29, 6, height + 24); break; @@ -12845,22 +12845,22 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16208, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16211, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16214, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16217, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -12877,22 +12877,22 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16207, 0, 0, 2, 20, 31, height, -8, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16210, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16213, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16216, 0, 0, 2, 20, 31, height, -8, 6, height); break; @@ -12905,22 +12905,22 @@ static void multi_dimension_rc_track_multidim_flat_to_90_deg_down_quarter_loop( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16206, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16209, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16212, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16215, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -12948,22 +12948,22 @@ static void multi_dimension_rc_track_multidim_inverted_90_deg_up_to_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16206, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16209, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16212, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16215, 0, 0, 2, 20, 31, height, 4, 6, height + 8); break; @@ -12976,22 +12976,22 @@ static void multi_dimension_rc_track_multidim_inverted_90_deg_up_to_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16207, 0, 0, 2, 20, 31, height, -8, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16210, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16213, 0, 0, 2, 20, 63, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16216, 0, 0, 2, 20, 31, height, -8, 6, height); break; @@ -13004,22 +13004,22 @@ static void multi_dimension_rc_track_multidim_inverted_90_deg_up_to_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16208, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16211, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16214, 0, 0, 2, 20, 31, height, 24, 6, height + 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16217, 0, 0, 32, 20, 3, height, 0, 6, height + 24); break; @@ -13042,22 +13042,22 @@ static void multi_dimension_rc_track_multidim_inverted_90_deg_up_to_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26537, 0, 0, 2, 20, 31, height - 16, 28, 6, height - 8); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26540, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26543, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26546, 0, 0, 2, 20, 31, height - 16, 28, 6, height - 8); break; @@ -13070,22 +13070,22 @@ static void multi_dimension_rc_track_multidim_inverted_90_deg_up_to_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26538, 0, 0, 2, 20, 31, height - 16, 24, 6, height - 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26541, 0, 0, 2, 20, 63, height - 16, 0, 6, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26544, 0, 0, 2, 20, 63, height - 16, 0, 6, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26547, 0, 0, 2, 20, 31, height - 16, 24, 6, height - 16); break; @@ -13098,22 +13098,22 @@ static void multi_dimension_rc_track_multidim_inverted_90_deg_up_to_flat_quarter switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26539, 0, 0, 32, 20, 3, height - 16, 0, 6, height - 16); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26542, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26545, 0, 0, 2, 20, 31, height - 16, 0, 6, height - 8); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26548, 0, 0, 32, 20, 3, height - 16, 0, 6, height - 16); break; diff --git a/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp b/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp index 1820ba5293..e05fabd9e3 100644 --- a/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp +++ b/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp @@ -285,8 +285,8 @@ static void paint_reverse_freefall_rc_slope( if (isDirection03) { bbHeight = bbHeights03[trackSequence]; - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); int32_t tunnelOffset = tunnelOffsets03[trackSequence]; if (direction & 1) @@ -301,8 +301,8 @@ static void paint_reverse_freefall_rc_slope( else { bbHeight = bbHeights12[trackSequence]; - sub_98197C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); - sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -323,13 +323,13 @@ static void paint_reverse_freefall_rc_slope( floorImageId = SPR_FLOOR_PLANKS | session->TrackColours[SCHEME_SUPPORTS]; } PaintAddImageAsParent(session, floorImageId, 0, 0, 26, 26, 126, height, 3, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, supportsImageId, 0, 0, isDirection03 ? 26 : 18, 26, 126, height, isDirection03 ? 3 : 11, 3, height); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, supportsImageId, 0, 0, isDirection03 ? 26 : 18, 26, 126, height, isDirection03 ? 3 : 11, 3, height); } @@ -339,13 +339,13 @@ static void paint_reverse_freefall_rc_slope( case 6: if (isDirection03) { - sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); - sub_98199C_rotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); + PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); + PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); } else { - sub_98197C_rotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height); - sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height); + PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height); + PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -372,11 +372,11 @@ static void paint_reverse_freefall_rc_vertical( trackImageId = reverse_freefall_rc_track_pieces_vertical[direction] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 0, 6, height); } else { - sub_98197C_rotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 30, 6, height); + PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 30, 6, height); } paint_util_set_vertical_tunnel(session, height + 80); 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 d21941172b..08b36bdd86 100644 --- a/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp @@ -55,13 +55,13 @@ static void reverser_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21520, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21521, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -73,13 +73,13 @@ static void reverser_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21504, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21505, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -101,9 +101,9 @@ static void reverser_rc_track_station( { 21507, SPR_STATION_BASE_A_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -123,22 +123,22 @@ static void reverser_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21530, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21531, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21532, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21533, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -149,22 +149,22 @@ static void reverser_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21516, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21517, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21518, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21519, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -192,22 +192,22 @@ static void reverser_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21522, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21523, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21524, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21525, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -218,22 +218,22 @@ static void reverser_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21508, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21509, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21510, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21511, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -261,22 +261,22 @@ static void reverser_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21526, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21527, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21528, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21529, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -287,22 +287,22 @@ static void reverser_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21512, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21513, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21514, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21515, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -545,22 +545,22 @@ static void reverser_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21566, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21570, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21569, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21573, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -576,22 +576,22 @@ static void reverser_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21567, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21571, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21568, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21572, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -607,22 +607,22 @@ static void reverser_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21568, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21572, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21567, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21571, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -638,22 +638,22 @@ static void reverser_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21569, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21573, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21566, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21570, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -684,22 +684,22 @@ static void reverser_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21574, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21578, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21577, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21581, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -715,22 +715,22 @@ static void reverser_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21575, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21579, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21576, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21580, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -746,22 +746,22 @@ static void reverser_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21576, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21580, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21575, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21579, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -777,22 +777,22 @@ static void reverser_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21577, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21581, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21574, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21578, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -823,22 +823,22 @@ static void reverser_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21559, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21562, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21565, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21556, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -857,21 +857,21 @@ static void reverser_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21558, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21561, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21564, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21555, 0, 0, 16, 16, 2, height, 16, 16, height); break; @@ -884,22 +884,22 @@ static void reverser_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21557, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21560, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21563, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21554, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -937,13 +937,13 @@ static void reverser_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21506, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21507, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -964,22 +964,22 @@ static void reverser_rc_track_left_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21582, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21588, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21594, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21600, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -995,22 +995,22 @@ static void reverser_rc_track_left_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21585, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21591, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21597, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21603, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1022,22 +1022,22 @@ static void reverser_rc_track_left_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21586, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21592, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21598, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21604, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1049,22 +1049,22 @@ static void reverser_rc_track_left_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21587, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21593, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21599, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21605, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1076,22 +1076,22 @@ static void reverser_rc_track_left_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21583, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21589, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21595, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21601, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1103,22 +1103,22 @@ static void reverser_rc_track_left_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21584, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21590, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21596, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21602, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1149,22 +1149,22 @@ static void reverser_rc_track_right_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21596, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21602, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21584, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21590, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1180,22 +1180,22 @@ static void reverser_rc_track_right_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21599, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21605, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21587, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21593, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1207,22 +1207,22 @@ static void reverser_rc_track_right_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21598, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21604, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21586, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21592, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1234,22 +1234,22 @@ static void reverser_rc_track_right_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21597, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21603, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21585, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21591, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1261,22 +1261,22 @@ static void reverser_rc_track_right_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21595, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21601, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21583, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21589, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1288,22 +1288,22 @@ static void reverser_rc_track_right_reverser( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21594, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21600, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21582, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21588, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; diff --git a/src/openrct2/ride/coaster/SideFrictionRollerCoaster.cpp b/src/openrct2/ride/coaster/SideFrictionRollerCoaster.cpp index cea93aeb0a..217300412b 100644 --- a/src/openrct2/ride/coaster/SideFrictionRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/SideFrictionRollerCoaster.cpp @@ -76,33 +76,33 @@ static void side_friction_rc_track_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21662, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21664, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21663, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21665, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21666, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21668, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21667, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21669, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -115,18 +115,18 @@ static void side_friction_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21606, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21608, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21607, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21609, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -150,7 +150,7 @@ static void side_friction_rc_track_station( 21611, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); track_paint_util_draw_station_2(session, rideIndex, direction, height, tileElement, 9, 11); @@ -169,30 +169,30 @@ static void side_friction_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21678, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21690, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21679, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21691, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21680, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21692, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21681, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21693, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -203,30 +203,30 @@ static void side_friction_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21622, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21634, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21623, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21635, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21624, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21636, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21625, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21637, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -254,30 +254,30 @@ static void side_friction_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21670, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21682, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21671, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21683, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21672, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21684, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21673, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21685, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -288,30 +288,30 @@ static void side_friction_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21614, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21626, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21615, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21627, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21616, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21628, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21617, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21629, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -339,30 +339,30 @@ static void side_friction_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21674, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21686, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21675, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21687, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21676, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21688, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21677, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21689, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -373,30 +373,30 @@ static void side_friction_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21618, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21630, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21619, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21631, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21620, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21632, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21621, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21633, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -451,7 +451,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 0: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21727, 0, 2, 32, 27, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21747, 0, 2, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -459,7 +459,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21732, 0, 2, 32, 27, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21752, 0, 2, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -467,7 +467,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21737, 0, 2, 32, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21757, 0, 2, 32, 32, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -475,7 +475,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 3: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21722, 0, 2, 32, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21742, 0, 2, 32, 32, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -499,7 +499,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 0: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21726, 0, 0, 32, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21746, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -507,7 +507,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21731, 0, 0, 32, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21751, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -515,7 +515,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21736, 0, 16, 32, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21756, 0, 16, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -523,7 +523,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 3: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21721, 0, 16, 32, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21741, 0, 16, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -542,7 +542,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 0: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21725, 0, 16, 16, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21745, 0, 16, 16, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -550,7 +550,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21730, 16, 16, 16, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21750, 16, 16, 16, 16, 0, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -558,7 +558,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21735, 16, 0, 16, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21755, 16, 0, 16, 16, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -566,7 +566,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 3: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21720, 0, 0, 16, 16, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21740, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -591,7 +591,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 0: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21724, 16, 0, 16, 34, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21744, 16, 0, 16, 34, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -599,7 +599,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21729, 0, 0, 16, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21749, 0, 0, 16, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -607,7 +607,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21734, 0, 0, 16, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21754, 0, 0, 16, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -615,7 +615,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 3: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21719, 16, 0, 16, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21739, 16, 0, 16, 32, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -634,7 +634,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 0: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21723, 2, 0, 32, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21743, 2, 0, 32, 32, 0, height, 2, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -642,7 +642,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 1: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21728, 2, 0, 27, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21748, 2, 0, 27, 32, 0, height, 2, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -650,7 +650,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 2: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21733, 2, 0, 27, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21753, 2, 0, 27, 32, 0, height, 2, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -658,7 +658,7 @@ static void side_friction_rc_track_left_quarter_turn_5( case 3: sub_98196C_rotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21718, 2, 0, 32, 32, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21738, 2, 0, 32, 32, 0, height, 2, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -699,33 +699,33 @@ static void side_friction_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21888, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21904, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21892, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21908, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21891, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21907, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21895, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21911, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -742,33 +742,33 @@ static void side_friction_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21889, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21905, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21893, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21909, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21890, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21906, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21894, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21910, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -785,33 +785,33 @@ static void side_friction_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21890, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21906, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21894, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21910, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21889, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21905, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21893, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21909, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -828,33 +828,33 @@ static void side_friction_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21891, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21907, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21895, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21911, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21888, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21904, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21892, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21908, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -886,33 +886,33 @@ static void side_friction_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21896, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21912, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21900, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21916, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21899, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21915, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21903, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21919, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -929,33 +929,33 @@ static void side_friction_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21897, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21913, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21901, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21917, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21898, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21914, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21902, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21918, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -972,33 +972,33 @@ static void side_friction_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21898, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21914, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21902, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21918, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21897, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21913, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21901, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21917, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1015,33 +1015,33 @@ static void side_friction_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21899, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21915, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21903, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21919, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21896, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21912, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21900, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21916, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1073,33 +1073,33 @@ static void side_friction_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21699, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21711, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21702, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21714, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21705, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21717, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21696, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21708, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1119,33 +1119,33 @@ static void side_friction_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21698, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21710, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21701, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21713, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21704, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21716, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21695, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21707, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -1158,33 +1158,33 @@ static void side_friction_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21697, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21709, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21700, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21712, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21703, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21715, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21694, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21706, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1223,17 +1223,17 @@ static void side_friction_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21610, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21612, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21611, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21613, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1254,33 +1254,33 @@ static void side_friction_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21790, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21806, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21794, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21810, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21798, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21814, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21802, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21818, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1297,35 +1297,35 @@ static void side_friction_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21791, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21807, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21795, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21811, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21799, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21815, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21803, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21819, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1338,36 +1338,36 @@ static void side_friction_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21792, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21808, 0, 0, 16, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21796, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21812, 0, 0, 16, 16, 0, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21800, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21816, 0, 0, 16, 16, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21804, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21820, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1399,33 +1399,33 @@ static void side_friction_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21793, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21809, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21797, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21813, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21801, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21817, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21805, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21821, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; @@ -1447,33 +1447,33 @@ static void side_friction_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21758, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21774, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21762, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21778, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21766, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21782, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21770, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21786, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1490,35 +1490,35 @@ static void side_friction_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21759, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21775, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21763, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21779, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21767, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21783, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21771, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21787, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1531,35 +1531,35 @@ static void side_friction_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21760, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21776, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21764, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21780, 0, 0, 16, 16, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21768, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21784, 0, 0, 28, 28, 0, height, 4, 4, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21772, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21788, 0, 0, 16, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1591,33 +1591,33 @@ static void side_friction_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21761, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21777, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21765, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21781, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21769, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21785, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21773, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21789, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -1659,7 +1659,7 @@ static void side_friction_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21849, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1670,7 +1670,7 @@ static void side_friction_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21825, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1685,10 +1685,10 @@ static void side_friction_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21846, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21850, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1709,10 +1709,10 @@ static void side_friction_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21822, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21826, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1743,10 +1743,10 @@ static void side_friction_rc_track_diag_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21848, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21851, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1767,10 +1767,10 @@ static void side_friction_rc_track_diag_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21824, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21827, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1789,7 +1789,7 @@ static void side_friction_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21847, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1800,7 +1800,7 @@ static void side_friction_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21823, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1825,7 +1825,7 @@ static void side_friction_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21867, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1836,7 +1836,7 @@ static void side_friction_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21843, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1851,10 +1851,10 @@ static void side_friction_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21864, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21868, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -1879,10 +1879,10 @@ static void side_friction_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21840, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21844, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -1919,10 +1919,10 @@ static void side_friction_rc_track_diag_25_deg_up( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21866, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21869, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -1947,10 +1947,10 @@ static void side_friction_rc_track_diag_25_deg_up( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21842, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21845, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -1971,7 +1971,7 @@ static void side_friction_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21865, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -1982,7 +1982,7 @@ static void side_friction_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21841, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2007,7 +2007,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21855, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2018,7 +2018,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21831, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2033,10 +2033,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21852, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21856, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2057,10 +2057,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21828, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21832, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2091,10 +2091,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21854, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21857, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2115,10 +2115,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21830, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21833, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2137,7 +2137,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21853, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2148,7 +2148,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21829, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2173,7 +2173,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21861, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2184,7 +2184,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21837, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2199,10 +2199,10 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21858, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21862, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2227,10 +2227,10 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21834, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21838, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2267,10 +2267,10 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21860, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21863, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2295,10 +2295,10 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21836, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21839, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2319,7 +2319,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21859, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2330,7 +2330,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21835, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2355,7 +2355,7 @@ static void side_friction_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21865, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2366,7 +2366,7 @@ static void side_friction_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21841, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2381,10 +2381,10 @@ static void side_friction_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21866, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21869, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -2409,10 +2409,10 @@ static void side_friction_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21842, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21845, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -2449,10 +2449,10 @@ static void side_friction_rc_track_diag_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21864, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21868, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -2477,10 +2477,10 @@ static void side_friction_rc_track_diag_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21840, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21844, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -2501,7 +2501,7 @@ static void side_friction_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21867, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2512,7 +2512,7 @@ static void side_friction_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21843, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2537,7 +2537,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21859, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2548,7 +2548,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21835, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2561,10 +2561,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21860, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21863, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2589,10 +2589,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21836, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21839, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2627,10 +2627,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21858, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21862, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2655,10 +2655,10 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21834, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21838, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -2677,7 +2677,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21861, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2688,7 +2688,7 @@ static void side_friction_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21837, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2714,7 +2714,7 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21853, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2725,7 +2725,7 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21829, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2740,10 +2740,10 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21854, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21857, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2764,10 +2764,10 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21830, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21833, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2798,10 +2798,10 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21852, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21856, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2822,10 +2822,10 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21828, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21832, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2844,7 +2844,7 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21855, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2855,7 +2855,7 @@ static void side_friction_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 21831, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -2874,40 +2874,40 @@ static void side_friction_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_0_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_0_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 21, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_1_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_1_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 22, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_2_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_2_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 23, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_3_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_DIR_3_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2940,37 +2940,37 @@ static void side_friction_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_0_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_0_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 13, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_1_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_1_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 14, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_2_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_2_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 15, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_3_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_3_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3003,37 +3003,37 @@ static void side_friction_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_0_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_0_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 17, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_1_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_1_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 18, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_2_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_2_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 19, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_3_A, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_3_B, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 20, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3069,7 +3069,7 @@ static void side_friction_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_DIR_3_A, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -3081,10 +3081,10 @@ static void side_friction_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_DIR_0_A, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_DIR_0_B, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3113,10 +3113,10 @@ static void side_friction_rc_track_diag_60_deg_up( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_DIR_2_A, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_DIR_2_B, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3132,7 +3132,7 @@ static void side_friction_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_DIR_1_A, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -3161,7 +3161,7 @@ static void side_friction_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_TO_25_DEG_UP_DIR_3_A, -16, -16, 32, 32, 2, height, -16, -16, height); @@ -3174,11 +3174,11 @@ static void side_friction_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_TO_25_DEG_UP_DIR_0_A, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_TO_25_DEG_UP_DIR_0_B, -16, -16, 32, 32, 0, height, -16, -16, height + 59); @@ -3207,11 +3207,11 @@ static void side_friction_rc_track_diag_60_deg_up_to_25_deg_up( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_TO_25_DEG_UP_DIR_2_A, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_TO_25_DEG_UP_DIR_2_B, -16, -16, 32, 32, 0, height, -16, -16, height + 59); @@ -3228,7 +3228,7 @@ static void side_friction_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_60_DEG_UP_TO_25_DEG_UP_DIR_1_A, -16, -16, 16, 16, 2, height, 0, 0, height); @@ -3258,7 +3258,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_25_DEG_UP_TO_60_DEG_UP_DIR_3_A, -16 + 4, -16 + 2, 32, 32, 2, height, -16, -16, height); @@ -3271,11 +3271,11 @@ static void side_friction_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_25_DEG_UP_TO_60_DEG_UP_DIR_0_A, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3303,11 +3303,11 @@ static void side_friction_rc_track_diag_25_deg_up_to_60_deg_up( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_25_DEG_UP_TO_60_DEG_UP_DIR_2_A, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3323,7 +3323,7 @@ static void side_friction_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | SPR_SIDE_FRICTION_DIAG_25_DEG_UP_TO_60_DEG_UP_DIR_1_A, -16, -16, 32, 32, 2, height, -16, -16, height); diff --git a/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp b/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp index 4d489cfa82..c5d722b658 100644 --- a/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp @@ -84,13 +84,13 @@ static void stand_up_rc_track_station( if (tileElement->AsTrack()->GetTrackType() == TrackElemType::EndStation) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height, 0, 6, height + 3); } else { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height, 0, 6, height + 3); } @@ -178,11 +178,11 @@ static void stand_up_rc_track_60_deg_up( sub_98196C_rotated(session, direction, session->TrackColours[SCHEME_TRACK] | 25386, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25398, 0, 6, 1, 10, 75, height, 29, 10, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25390, 0, 6, 1, 10, 75, height, 29, 10, height); break; case 3: @@ -202,11 +202,11 @@ static void stand_up_rc_track_60_deg_up( sub_98196C_rotated(session, direction, session->TrackColours[SCHEME_TRACK] | 25232, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25244, 0, 6, 1, 10, 75, height, 29, 10, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25236, 0, 6, 1, 10, 75, height, 29, 10, height); break; case 3: @@ -306,15 +306,15 @@ static void stand_up_rc_track_25_deg_up_to_60_deg_up( sub_98196C_rotated(session, direction, session->TrackColours[SCHEME_TRACK] | 25388, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25411, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25402, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25409, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25392, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 3: @@ -334,15 +334,15 @@ static void stand_up_rc_track_25_deg_up_to_60_deg_up( sub_98196C_rotated(session, direction, session->TrackColours[SCHEME_TRACK] | 25234, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25277, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25248, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25275, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25238, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 3: @@ -380,15 +380,15 @@ static void stand_up_rc_track_60_deg_up_to_25_deg_up( sub_98196C_rotated(session, direction, session->TrackColours[SCHEME_TRACK] | 25396, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25412, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25408, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25410, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25394, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 3: @@ -408,15 +408,15 @@ static void stand_up_rc_track_60_deg_up_to_25_deg_up( sub_98196C_rotated(session, direction, session->TrackColours[SCHEME_TRACK] | 25242, 0, 6, 32, 20, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25278, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25254, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25276, 0, 6, 32, 10, 43, height, 0, 10, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25240, 0, 6, 32, 2, 43, height, 0, 4, height); break; case 3: @@ -848,23 +848,23 @@ static void stand_up_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25464, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25475, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25469, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25474, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25459, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -884,21 +884,21 @@ static void stand_up_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25463, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25468, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25473, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25458, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -914,22 +914,22 @@ static void stand_up_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25462, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25467, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25472, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25457, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -944,21 +944,21 @@ static void stand_up_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25461, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25466, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25471, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25456, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -974,23 +974,23 @@ static void stand_up_rc_track_banked_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25460, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25465, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25470, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25476, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25455, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -2706,23 +2706,23 @@ static void stand_up_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25526, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25533, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25529, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25532, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25523, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -2742,22 +2742,22 @@ static void stand_up_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25525, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25528, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25531, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25522, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -2770,23 +2770,23 @@ static void stand_up_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25524, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25527, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25530, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25534, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25521, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3158,7 +3158,7 @@ static void stand_up_rc_track_half_loop_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25576, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 20, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3170,7 +3170,7 @@ static void stand_up_rc_track_half_loop_up( session, METAL_SUPPORTS_TUBES, 4, 15, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25581, 0, 6, 32, 2, 3, height, 0, 20, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 16, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -3201,7 +3201,7 @@ static void stand_up_rc_track_half_loop_up( session, direction, session->TrackColours[SCHEME_TRACK] | 25580, 10, 16, 4, 12, 119, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25588, 16, 16, 2, 16, 119, height, 15, 6, height); break; @@ -3263,22 +3263,22 @@ static void stand_up_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25591, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25594, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25597, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25600, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -3296,22 +3296,22 @@ static void stand_up_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25592, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25595, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25598, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25601, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -3323,22 +3323,22 @@ static void stand_up_rc_track_left_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25593, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25596, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25599, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25602, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -3375,22 +3375,22 @@ static void stand_up_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25603, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25606, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25609, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25612, 0, 0, 32, 20, 3, height, 0, 6, height + 4); break; @@ -3409,22 +3409,22 @@ static void stand_up_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25604, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25607, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25610, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25613, 0, 0, 20, 20, 3, height, 6, 6, height + 10); break; @@ -3436,22 +3436,22 @@ static void stand_up_rc_track_right_corkscrew_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25605, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25608, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25611, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25614, 0, 0, 20, 32, 3, height, 6, 0, height + 24); break; @@ -3504,23 +3504,23 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25844, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25851, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25847, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25850, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25841, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3541,22 +3541,22 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25843, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25846, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25849, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25840, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3569,23 +3569,23 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25842, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25845, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25848, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25852, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25839, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3608,23 +3608,23 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25841, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25844, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25851, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25847, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25850, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3650,22 +3650,22 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25840, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25843, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25846, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25849, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3678,22 +3678,22 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25839, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25842, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25845, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25848, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25852, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3722,22 +3722,22 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25825, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25828, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25831, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25834, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25838, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -3759,22 +3759,22 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25826, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25829, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25832, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25835, 0, 0, 16, 16, 3, height, 16, 0, height); break; @@ -3787,23 +3787,23 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25827, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25830, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25837, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25833, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25836, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3826,23 +3826,23 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25828, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25831, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25834, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25838, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25825, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -3868,22 +3868,22 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25829, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25832, 0, 0, 16, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25835, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25826, 0, 0, 16, 16, 3, height, 16, 16, height); break; @@ -3896,23 +3896,23 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25830, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25837, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25833, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25836, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25827, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -3970,23 +3970,23 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25812, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25823, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25817, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25822, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25807, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4007,21 +4007,21 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25811, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25816, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25821, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25806, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4037,22 +4037,22 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25810, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25815, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25820, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25805, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4067,21 +4067,21 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25809, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25814, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25819, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25804, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4097,23 +4097,23 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25808, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25813, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25818, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25824, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25803, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4136,23 +4136,23 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25807, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25812, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25823, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25817, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25822, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4178,21 +4178,21 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25806, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25811, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25816, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25821, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4208,21 +4208,21 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25805, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25810, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25815, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25820, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4238,22 +4238,22 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25804, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25809, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25814, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25819, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4268,22 +4268,22 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25803, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25808, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25813, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25818, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25824, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4312,22 +4312,22 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25781, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25786, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25791, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25796, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25802, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -4349,22 +4349,22 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25782, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25787, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25792, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25797, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4379,21 +4379,21 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25783, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25788, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25793, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25798, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4409,21 +4409,21 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25784, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25789, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25794, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25799, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4439,23 +4439,23 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25785, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25790, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25801, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25795, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25800, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4478,23 +4478,23 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25786, 0, 0, 20, 32, 3, height, 6, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25791, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25796, 0, 0, 20, 32, 3, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25802, 0, 0, 1, 32, 26, height, 27, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25781, 0, 0, 20, 32, 3, height, 6, 0, height); break; } @@ -4520,21 +4520,21 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25787, 0, 0, 16, 32, 3, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25792, 0, 0, 16, 32, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25797, 0, 0, 16, 32, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25782, 0, 0, 16, 32, 3, height, 16, 0, height); break; @@ -4550,22 +4550,22 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25788, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25793, 0, 0, 16, 16, 1, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25798, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25783, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4580,21 +4580,21 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25789, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25794, 0, 0, 32, 16, 1, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25799, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25784, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4610,23 +4610,23 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25790, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25801, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25795, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25800, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25785, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4710,28 +4710,28 @@ static void stand_up_rc_track_on_ride_photo( sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25229, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; case 1: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25230, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; case 2: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 8, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25229, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; case 3: sub_98196C_rotated(session, direction, IMAGE_TYPE_REMAP | SPR_STATION_BASE_D, 0, 0, 32, 32, 1, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 6, 0, height, session->TrackColours[SCHEME_SUPPORTS]); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 7, 0, height, session->TrackColours[SCHEME_SUPPORTS]); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25230, 0, 6, 32, 20, 1, height, 0, 6, height + 3); break; } @@ -4752,19 +4752,19 @@ static void stand_up_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25643, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25647, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25651, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25655, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4781,20 +4781,20 @@ static void stand_up_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25644, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25648, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25652, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25656, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -4810,22 +4810,22 @@ static void stand_up_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25645, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25649, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25653, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25657, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -4843,27 +4843,27 @@ static void stand_up_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25646, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25650, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25654, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25658, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -4891,19 +4891,19 @@ static void stand_up_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25627, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25631, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25635, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25639, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -4920,21 +4920,21 @@ static void stand_up_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25628, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25632, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25636, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25640, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -4949,20 +4949,20 @@ static void stand_up_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25629, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25633, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25637, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25641, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -4981,27 +4981,27 @@ static void stand_up_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25630, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25634, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25638, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25642, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -5047,21 +5047,21 @@ static void stand_up_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25675, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25679, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25683, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25687, 0, 0, 32, 20, 3, height, 0, 6, height); break; } @@ -5078,21 +5078,21 @@ static void stand_up_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25676, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25680, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25684, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25688, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -5108,22 +5108,22 @@ static void stand_up_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25677, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25681, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25685, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25689, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -5141,27 +5141,27 @@ static void stand_up_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25678, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25682, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25686, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25690, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -5189,20 +5189,20 @@ static void stand_up_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25659, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25663, 0, 0, 32, 20, 3, height, 0, 6, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25667, 0, 0, 32, 1, 26, height, 0, 27, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25671, 0, 0, 32, 1, 26, height, 0, 27, height); break; @@ -5220,21 +5220,21 @@ static void stand_up_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25660, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25664, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25668, 0, 0, 34, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25672, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -5249,21 +5249,21 @@ static void stand_up_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25661, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25665, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25669, 0, 0, 28, 28, 0, height, 4, 4, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25673, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -5282,27 +5282,27 @@ static void stand_up_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25662, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25666, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25670, 0, 0, 16, 18, 0, height, 0, 16, height + 27); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25674, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -5350,7 +5350,7 @@ static void stand_up_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25756, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5361,7 +5361,7 @@ static void stand_up_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25694, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5377,7 +5377,7 @@ static void stand_up_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25753, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5388,7 +5388,7 @@ static void stand_up_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25691, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5404,7 +5404,7 @@ static void stand_up_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25755, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5415,7 +5415,7 @@ static void stand_up_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25693, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5435,7 +5435,7 @@ static void stand_up_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25754, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5460,7 +5460,7 @@ static void stand_up_rc_track_diag_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25692, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -5496,7 +5496,7 @@ static void stand_up_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25768, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5507,7 +5507,7 @@ static void stand_up_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25706, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5523,7 +5523,7 @@ static void stand_up_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25765, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5534,7 +5534,7 @@ static void stand_up_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25703, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5550,7 +5550,7 @@ static void stand_up_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25767, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5561,7 +5561,7 @@ static void stand_up_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25705, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5581,7 +5581,7 @@ static void stand_up_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25766, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5606,7 +5606,7 @@ static void stand_up_rc_track_diag_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25704, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5642,7 +5642,7 @@ static void stand_up_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25780, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5653,7 +5653,7 @@ static void stand_up_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25718, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5669,7 +5669,7 @@ static void stand_up_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25777, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5680,7 +5680,7 @@ static void stand_up_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25715, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5696,7 +5696,7 @@ static void stand_up_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25779, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5707,7 +5707,7 @@ static void stand_up_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25717, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5727,7 +5727,7 @@ static void stand_up_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25778, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5752,7 +5752,7 @@ static void stand_up_rc_track_diag_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 32, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25716, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5788,7 +5788,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25760, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5799,7 +5799,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25698, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5815,7 +5815,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25757, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5826,7 +5826,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25695, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5842,7 +5842,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25759, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5853,7 +5853,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25697, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5873,7 +5873,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25758, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5898,7 +5898,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25696, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -5934,7 +5934,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25772, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5945,7 +5945,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25710, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5961,7 +5961,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25769, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5972,7 +5972,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25707, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5988,7 +5988,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25771, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -5999,7 +5999,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25709, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6019,7 +6019,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25770, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6044,7 +6044,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_60_deg_up( session, METAL_SUPPORTS_TUBES, 1, 16, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25708, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6080,7 +6080,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25776, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6091,7 +6091,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25714, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6107,7 +6107,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25773, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6118,7 +6118,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25711, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6134,7 +6134,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25775, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6145,7 +6145,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25713, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6165,7 +6165,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25774, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -6190,7 +6190,7 @@ static void stand_up_rc_track_diag_60_deg_up_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 21, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25712, -16, -16, 16, 16, 3, height, 0, 0, height); metal_b_supports_paint_setup( @@ -6226,7 +6226,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25764, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6237,7 +6237,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25702, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6253,7 +6253,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25761, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6264,7 +6264,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25699, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6280,7 +6280,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25763, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6291,7 +6291,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25701, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6311,7 +6311,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25762, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6336,7 +6336,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25700, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6372,7 +6372,7 @@ static void stand_up_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25766, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6383,7 +6383,7 @@ static void stand_up_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25704, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6399,7 +6399,7 @@ static void stand_up_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25767, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6410,7 +6410,7 @@ static void stand_up_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25705, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6426,7 +6426,7 @@ static void stand_up_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25765, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6437,7 +6437,7 @@ static void stand_up_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25703, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6457,7 +6457,7 @@ static void stand_up_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25768, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6482,7 +6482,7 @@ static void stand_up_rc_track_diag_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25706, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6518,7 +6518,7 @@ static void stand_up_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25778, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6529,7 +6529,7 @@ static void stand_up_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25716, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6545,7 +6545,7 @@ static void stand_up_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25779, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6556,7 +6556,7 @@ static void stand_up_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25717, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6572,7 +6572,7 @@ static void stand_up_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25777, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6583,7 +6583,7 @@ static void stand_up_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25715, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6603,7 +6603,7 @@ static void stand_up_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25780, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6628,7 +6628,7 @@ static void stand_up_rc_track_diag_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 24, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25718, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6664,7 +6664,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25762, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6675,7 +6675,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25700, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6690,7 +6690,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25763, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6701,7 +6701,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25701, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6716,7 +6716,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25761, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6727,7 +6727,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25699, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6746,7 +6746,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25764, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6771,7 +6771,7 @@ static void stand_up_rc_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25702, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6808,7 +6808,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25774, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6819,7 +6819,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25712, -16, -16, 16, 16, 3, height, 0, 0, height); break; @@ -6835,7 +6835,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25775, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6846,7 +6846,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25713, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6862,7 +6862,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25773, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6873,7 +6873,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25711, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6893,7 +6893,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25776, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6918,7 +6918,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_60_deg_down( session, METAL_SUPPORTS_TUBES, 1, 17, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25714, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -6954,7 +6954,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25770, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6965,7 +6965,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25708, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6981,7 +6981,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25771, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -6992,7 +6992,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25709, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7008,7 +7008,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25769, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7019,7 +7019,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25707, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7039,7 +7039,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25772, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7064,7 +7064,7 @@ static void stand_up_rc_track_diag_60_deg_down_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25710, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7100,7 +7100,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25758, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7111,7 +7111,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25696, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7127,7 +7127,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25759, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7138,7 +7138,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25697, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7154,7 +7154,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25757, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7165,7 +7165,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25695, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7185,7 +7185,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25760, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7210,7 +7210,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25698, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7244,7 +7244,7 @@ static void stand_up_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25726, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7257,10 +7257,10 @@ static void stand_up_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25723, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25727, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7273,7 +7273,7 @@ static void stand_up_rc_track_diag_flat_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25725, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7290,7 +7290,7 @@ static void stand_up_rc_track_diag_flat_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25724, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7323,7 +7323,7 @@ static void stand_up_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25731, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7336,7 +7336,7 @@ static void stand_up_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25728, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7349,10 +7349,10 @@ static void stand_up_rc_track_diag_flat_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25730, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25732, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7369,7 +7369,7 @@ static void stand_up_rc_track_diag_flat_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25729, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7402,7 +7402,7 @@ static void stand_up_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25729, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7415,10 +7415,10 @@ static void stand_up_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25730, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25732, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7431,7 +7431,7 @@ static void stand_up_rc_track_diag_left_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25728, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7448,7 +7448,7 @@ static void stand_up_rc_track_diag_left_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25731, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7481,7 +7481,7 @@ static void stand_up_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25724, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7494,7 +7494,7 @@ static void stand_up_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25725, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7507,10 +7507,10 @@ static void stand_up_rc_track_diag_right_bank_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25723, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25727, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -7527,7 +7527,7 @@ static void stand_up_rc_track_diag_right_bank_to_flat( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25726, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -7560,7 +7560,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25746, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7573,10 +7573,10 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25743, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25747, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7589,7 +7589,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25745, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7606,7 +7606,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25744, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7639,7 +7639,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25751, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7652,7 +7652,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25748, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7665,10 +7665,10 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25750, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25752, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7685,7 +7685,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_up( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25749, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7718,7 +7718,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25736, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7731,10 +7731,10 @@ static void stand_up_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25733, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25737, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7747,7 +7747,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25735, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7764,7 +7764,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25734, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7797,7 +7797,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25741, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7810,7 +7810,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25738, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7823,10 +7823,10 @@ static void stand_up_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25740, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25742, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7843,7 +7843,7 @@ static void stand_up_rc_track_diag_25_deg_up_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25739, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7876,7 +7876,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25739, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7888,10 +7888,10 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25740, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25742, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7903,7 +7903,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25738, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7919,7 +7919,7 @@ static void stand_up_rc_track_diag_left_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25741, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -7953,7 +7953,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25734, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7965,7 +7965,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25735, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -7977,10 +7977,10 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16676, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 16680, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -7996,7 +7996,7 @@ static void stand_up_rc_track_diag_right_bank_to_25_deg_down( session, METAL_SUPPORTS_TUBES, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25736, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8030,7 +8030,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25749, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8043,10 +8043,10 @@ static void stand_up_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25750, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25752, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8059,7 +8059,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25748, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8076,7 +8076,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25751, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8109,7 +8109,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25744, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8122,7 +8122,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25745, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8135,10 +8135,10 @@ static void stand_up_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25743, -16, -16, 32, 32, 3, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25747, -16, -16, 32, 32, 0, height, -16, -16, height + 35); break; @@ -8155,7 +8155,7 @@ static void stand_up_rc_track_diag_25_deg_down_to_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25746, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -8188,7 +8188,7 @@ static void stand_up_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25722, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8201,7 +8201,7 @@ static void stand_up_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25719, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -8214,7 +8214,7 @@ static void stand_up_rc_track_diag_left_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25721, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8231,7 +8231,7 @@ static void stand_up_rc_track_diag_left_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25720, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -8264,7 +8264,7 @@ static void stand_up_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25720, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8277,7 +8277,7 @@ static void stand_up_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25721, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -8290,7 +8290,7 @@ static void stand_up_rc_track_diag_right_bank( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25719, -16, -16, 32, 32, 0, height, -16, -16, height + 27); break; @@ -8307,7 +8307,7 @@ static void stand_up_rc_track_diag_right_bank( session, METAL_SUPPORTS_TUBES, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25722, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( diff --git a/src/openrct2/ride/coaster/Steeplechase.cpp b/src/openrct2/ride/coaster/Steeplechase.cpp index 53dab1dccb..f49318f833 100644 --- a/src/openrct2/ride/coaster/Steeplechase.cpp +++ b/src/openrct2/ride/coaster/Steeplechase.cpp @@ -77,10 +77,10 @@ static void steeplechase_track_station( { 28636, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 3, height - 2, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 3, height, 0, 0, height); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3); @@ -961,25 +961,25 @@ static void steeplechase_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28725, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28729, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28733, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28737, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -997,20 +997,20 @@ static void steeplechase_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28726, 0, 0, 32, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28730, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28734, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28738, 0, 0, 32, 16, 3, height, 0, 16, height); break; @@ -1026,22 +1026,22 @@ static void steeplechase_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28727, 0, 0, 16, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28731, 0, 0, 16, 16, 3, height, 16, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28735, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28739, 0, 0, 16, 16, 3, height, 0, 0, height); break; } @@ -1059,27 +1059,27 @@ static void steeplechase_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28728, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28732, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK_ALT, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28736, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28740, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( @@ -1107,25 +1107,25 @@ static void steeplechase_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28709, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28713, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28717, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28721, 0, 0, 32, 20, 3, height, 0, 6, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -1143,21 +1143,21 @@ static void steeplechase_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28710, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28714, 0, 0, 32, 16, 3, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28718, 0, 0, 34, 16, 3, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28722, 0, 0, 32, 16, 3, height, 0, 0, height); break; } @@ -1172,20 +1172,20 @@ static void steeplechase_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28711, 0, 0, 16, 16, 3, height, 0, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28715, 0, 0, 16, 16, 3, height, 16, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28719, 0, 0, 28, 28, 3, height, 4, 4, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28723, 0, 0, 16, 16, 3, height, 0, 16, height); break; @@ -1204,27 +1204,27 @@ static void steeplechase_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28712, 0, 0, 16, 16, 3, height, 16, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28716, 0, 0, 16, 16, 3, height, 0, 0, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK_ALT, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28720, 0, 0, 16, 18, 3, height, 0, 16, height); metal_a_supports_paint_setup( session, METAL_SUPPORTS_STICK, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28724, 0, 0, 16, 16, 3, height, 16, 16, height); metal_a_supports_paint_setup( @@ -1272,7 +1272,7 @@ static void steeplechase_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28760, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1283,7 +1283,7 @@ static void steeplechase_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28744, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1299,7 +1299,7 @@ static void steeplechase_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28757, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1310,7 +1310,7 @@ static void steeplechase_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28741, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1326,7 +1326,7 @@ static void steeplechase_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28759, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1337,7 +1337,7 @@ static void steeplechase_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28743, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1357,7 +1357,7 @@ static void steeplechase_track_diag_flat( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28758, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -1382,7 +1382,7 @@ static void steeplechase_track_diag_flat( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28742, -16, -16, 32, 32, 3, height, -16, -16, height); metal_a_supports_paint_setup( @@ -1418,7 +1418,7 @@ static void steeplechase_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28772, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1429,7 +1429,7 @@ static void steeplechase_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28756, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1445,7 +1445,7 @@ static void steeplechase_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28769, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1456,7 +1456,7 @@ static void steeplechase_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28753, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1472,7 +1472,7 @@ static void steeplechase_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28771, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1483,7 +1483,7 @@ static void steeplechase_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28755, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1503,7 +1503,7 @@ static void steeplechase_track_diag_25_deg_up( session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28770, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1528,7 +1528,7 @@ static void steeplechase_track_diag_25_deg_up( session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28754, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1564,7 +1564,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28764, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1575,7 +1575,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28748, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1591,7 +1591,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28761, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1602,7 +1602,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28745, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1618,7 +1618,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28763, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1629,7 +1629,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28747, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1649,7 +1649,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28762, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1674,7 +1674,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28746, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1710,7 +1710,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28768, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1721,7 +1721,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28752, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1737,7 +1737,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28765, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1748,7 +1748,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28749, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1764,7 +1764,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28767, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1775,7 +1775,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28751, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1795,7 +1795,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28766, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1820,7 +1820,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat( session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28750, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1856,7 +1856,7 @@ static void steeplechase_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28770, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1867,7 +1867,7 @@ static void steeplechase_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28754, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1883,7 +1883,7 @@ static void steeplechase_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28771, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1894,7 +1894,7 @@ static void steeplechase_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28755, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1910,7 +1910,7 @@ static void steeplechase_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28769, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1921,7 +1921,7 @@ static void steeplechase_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28753, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -1941,7 +1941,7 @@ static void steeplechase_track_diag_25_deg_down( session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28772, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -1966,7 +1966,7 @@ static void steeplechase_track_diag_25_deg_down( session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28756, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -2002,7 +2002,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28766, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2013,7 +2013,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28750, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2028,7 +2028,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28767, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2039,7 +2039,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28751, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2054,7 +2054,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28765, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2065,7 +2065,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28749, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2084,7 +2084,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28768, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -2109,7 +2109,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down( session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28752, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -2146,7 +2146,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28762, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2157,7 +2157,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28746, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2173,7 +2173,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28763, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2184,7 +2184,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28747, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2200,7 +2200,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28761, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2211,7 +2211,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28745, -16, -16, 32, 32, 3, height, -16, -16, height); break; @@ -2231,7 +2231,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28764, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( @@ -2256,7 +2256,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat( session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 28748, -16, -16, 32, 32, 3, height, -16, -16, height); metal_b_supports_paint_setup( diff --git a/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp b/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp index f365204bb4..153a645414 100644 --- a/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp +++ b/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp @@ -30,13 +30,13 @@ static void suspended_swinging_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25963, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25964, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -48,13 +48,13 @@ static void suspended_swinging_rc_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25961, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25962, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -84,12 +84,12 @@ static void suspended_swinging_rc_track_station( { SPR_STATION_BASE_C_NW_SE, 25964, SPR_STATION_INVERTED_BAR_D_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, height + 29); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 0); @@ -109,22 +109,22 @@ static void suspended_swinging_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26001, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26002, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26003, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26004, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -135,22 +135,22 @@ static void suspended_swinging_rc_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25973, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25974, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25975, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25976, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 45); break; @@ -201,22 +201,22 @@ static void suspended_swinging_rc_track_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25989, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25990, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25991, 0, 0, 32, 2, 81, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25992, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 93); break; @@ -244,22 +244,22 @@ static void suspended_swinging_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25993, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25994, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25995, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25996, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -270,22 +270,22 @@ static void suspended_swinging_rc_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25965, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25966, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25967, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25968, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -336,28 +336,28 @@ static void suspended_swinging_rc_track_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25977, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25981, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25978, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25982, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25979, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25980, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -385,28 +385,28 @@ static void suspended_swinging_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25983, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25987, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26090, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25988, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25985, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25986, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -417,28 +417,28 @@ static void suspended_swinging_rc_track_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25983, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25987, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25984, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25988, 0, 0, 32, 10, 49, height + 29, 0, 10, height + 11); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25985, 0, 0, 32, 2, 49, height + 29, 0, 4, height + 11); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25986, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 61); break; @@ -491,22 +491,22 @@ static void suspended_swinging_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25997, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25998, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25999, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26000, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -517,22 +517,22 @@ static void suspended_swinging_rc_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25969, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25970, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25971, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25972, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 37); break; @@ -636,22 +636,22 @@ static void suspended_swinging_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26014, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26019, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26024, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26009, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -684,12 +684,12 @@ static void suspended_swinging_rc_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26018, 0, 0, 32, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26023, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26008, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -705,17 +705,17 @@ static void suspended_swinging_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26012, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26017, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26022, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -735,7 +735,7 @@ static void suspended_swinging_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26011, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -748,7 +748,7 @@ static void suspended_swinging_rc_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 26021, 0, 0, 16, 32, 3, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26006, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 29); break; @@ -764,22 +764,22 @@ static void suspended_swinging_rc_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26010, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26015, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26020, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26005, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -928,7 +928,7 @@ static void suspended_swinging_rc_track_left_quarter_turn_5_25_deg_up( session, direction, session->TrackColours[SCHEME_TRACK] | 26110, 0, 0, 16, 32, 3, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26115, 16, 0, 16, 32, 3, height + 29, 16, 0, height + 37); break; @@ -1082,7 +1082,7 @@ static void suspended_swinging_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26080, 16, 0, 16, 32, 3, height + 29, 16, 0, height + 37); break; @@ -1496,22 +1496,22 @@ static void suspended_swinging_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26070, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26073, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26076, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26067, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1536,7 +1536,7 @@ static void suspended_swinging_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26069, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -1545,12 +1545,12 @@ static void suspended_swinging_rc_track_left_quarter_turn_3( session, direction, session->TrackColours[SCHEME_TRACK] | 26072, 0, 0, 16, 16, 3, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26075, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26066, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -1563,22 +1563,22 @@ static void suspended_swinging_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26068, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26071, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26074, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26065, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 29); break; @@ -1817,13 +1817,13 @@ static void suspended_swinging_rc_track_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26117, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26118, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -1851,22 +1851,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26054, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26059, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26064, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26049, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; @@ -1891,22 +1891,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26053, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26058, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26063, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26048, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; @@ -1922,22 +1922,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26052, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26057, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26062, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26047, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; @@ -1953,22 +1953,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26051, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26056, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26061, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26046, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -1984,22 +1984,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26050, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26055, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26060, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26045, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; @@ -2036,22 +2036,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26025, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26030, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26035, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26040, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 35); break; @@ -2076,22 +2076,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26026, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26031, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26036, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26041, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; @@ -2107,22 +2107,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26027, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26032, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26037, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26042, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; @@ -2138,22 +2138,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26028, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26033, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26038, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26043, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -2169,22 +2169,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26029, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26034, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26039, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26044, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 43); break; @@ -2221,22 +2221,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26034, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26039, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26044, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26029, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; @@ -2261,22 +2261,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26033, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26038, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26043, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26028, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; @@ -2292,22 +2292,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26032, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26037, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26042, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26027, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; @@ -2323,22 +2323,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26031, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26036, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26041, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26026, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -2354,22 +2354,22 @@ static void suspended_swinging_rc_track_left_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26030, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26035, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26040, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26025, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; @@ -2406,22 +2406,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26045, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26050, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26055, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26060, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 43); break; @@ -2446,22 +2446,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26046, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26051, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26056, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26061, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 43); break; @@ -2477,22 +2477,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26047, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26052, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26057, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26062, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 43); break; @@ -2508,22 +2508,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26048, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26053, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26058, 0, 0, 16, 32, 3, height + 29, 0, 0, height + 43); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26063, 0, 0, 16, 32, 3, height + 29, 16, 0, height + 43); break; @@ -2539,22 +2539,22 @@ static void suspended_swinging_rc_track_right_quarter_helix_large_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26049, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26054, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26059, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26064, 0, 0, 20, 32, 3, height + 29, 6, 0, height + 35); break; @@ -2591,22 +2591,22 @@ static void suspended_swinging_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26167, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26171, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26175, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26179, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2627,22 +2627,22 @@ static void suspended_swinging_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26168, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26172, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26176, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26180, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; @@ -2658,22 +2658,22 @@ static void suspended_swinging_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26169, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26173, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26177, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26181, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; @@ -2692,22 +2692,22 @@ static void suspended_swinging_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26170, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26174, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26178, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26182, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; @@ -2754,22 +2754,22 @@ static void suspended_swinging_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26151, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26155, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26159, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26163, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; @@ -2790,22 +2790,22 @@ static void suspended_swinging_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26152, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26156, 0, 0, 32, 16, 3, height + 29, 0, 16, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26160, 0, 0, 34, 16, 3, height + 29, 0, 0, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26164, 0, 0, 32, 16, 3, height + 29, 0, 0, height + 29); break; @@ -2821,22 +2821,22 @@ static void suspended_swinging_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26153, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26157, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26161, 0, 0, 28, 28, 3, height + 29, 4, 4, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26165, 0, 0, 16, 16, 3, height + 29, 0, 16, height + 29); break; @@ -2855,22 +2855,22 @@ static void suspended_swinging_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26154, 0, 0, 16, 16, 3, height + 29, 16, 0, height + 29); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26158, 0, 0, 16, 16, 3, height + 29, 0, 0, height + 29); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26162, 0, 0, 16, 18, 3, height + 29, 0, 16, height + 29); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26166, 0, 0, 16, 16, 3, height + 29, 16, 16, height + 29); break; @@ -2939,7 +2939,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26214, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -2950,7 +2950,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26186, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -2966,7 +2966,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26211, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -2977,7 +2977,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26183, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -2993,7 +2993,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26213, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -3004,7 +3004,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26185, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -3020,7 +3020,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26212, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -3031,7 +3031,7 @@ static void suspended_swinging_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26184, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -3078,7 +3078,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26226, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3089,7 +3089,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26198, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3105,7 +3105,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26223, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3116,7 +3116,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26195, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3132,7 +3132,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26225, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3143,7 +3143,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26197, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3159,7 +3159,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26224, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3170,7 +3170,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26196, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3215,7 +3215,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26210, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -3228,7 +3228,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26207, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -3241,7 +3241,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26209, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -3254,7 +3254,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26208, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -3300,7 +3300,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26218, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3311,7 +3311,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26190, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3327,7 +3327,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26215, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3338,7 +3338,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26187, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3354,7 +3354,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26217, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3365,7 +3365,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26189, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3381,7 +3381,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26216, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3392,7 +3392,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26188, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3437,7 +3437,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26202, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3450,7 +3450,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26199, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3463,7 +3463,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26201, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3476,7 +3476,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26200, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3520,7 +3520,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26206, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3533,7 +3533,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26203, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3546,7 +3546,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26205, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -3559,7 +3559,7 @@ static void suspended_swinging_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26204, -16, -16, 16, 16, 3, height + 29, 0, 0, height + 61); break; @@ -3605,7 +3605,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26222, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3616,7 +3616,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26194, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3632,7 +3632,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26219, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3643,7 +3643,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26191, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3659,7 +3659,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26221, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3670,7 +3670,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26193, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3686,7 +3686,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26220, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3697,7 +3697,7 @@ static void suspended_swinging_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26192, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3744,7 +3744,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26224, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3755,7 +3755,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26196, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3771,7 +3771,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26225, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3782,7 +3782,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26197, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3798,7 +3798,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26223, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3809,7 +3809,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26195, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3825,7 +3825,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26226, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3836,7 +3836,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26198, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 45); break; @@ -3881,7 +3881,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26208, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 29); break; @@ -3894,7 +3894,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26209, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -3907,7 +3907,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26207, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -3920,7 +3920,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26210, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 93); break; @@ -3945,7 +3945,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26220, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3956,7 +3956,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26192, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3971,7 +3971,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26221, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3982,7 +3982,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26193, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -3997,7 +3997,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26219, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4008,7 +4008,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26191, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4023,7 +4023,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26222, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4034,7 +4034,7 @@ static void suspended_swinging_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26194, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4079,7 +4079,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26204, -16, -16, 16, 16, 3, height + 29, 0, 0, height + 61); break; @@ -4092,7 +4092,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26205, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4105,7 +4105,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26203, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4118,7 +4118,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26206, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4162,7 +4162,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26200, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4175,7 +4175,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26201, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4188,7 +4188,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26199, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4201,7 +4201,7 @@ static void suspended_swinging_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26202, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 61); break; @@ -4247,7 +4247,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26216, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4258,7 +4258,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26188, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4274,7 +4274,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26217, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4285,7 +4285,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26189, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4301,7 +4301,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26215, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4312,7 +4312,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26187, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4328,7 +4328,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26218, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4339,7 +4339,7 @@ static void suspended_swinging_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26190, -16, -16, 32, 32, 3, height + 29, -16, -16, height + 37); break; @@ -4382,13 +4382,13 @@ static void suspended_swinging_rc_track_block_brakes( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26117, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 26118, 0, 0, 32, 20, 3, height + 29, 0, 6, height + 29); break; diff --git a/src/openrct2/ride/coaster/WildMouse.cpp b/src/openrct2/ride/coaster/WildMouse.cpp index 727914cfa7..81476deca2 100644 --- a/src/openrct2/ride/coaster/WildMouse.cpp +++ b/src/openrct2/ride/coaster/WildMouse.cpp @@ -176,7 +176,7 @@ static void wild_mouse_track_flat( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -1, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -199,18 +199,18 @@ static void wild_mouse_track_station( }; int32_t trackType = tileElement->AsTrack()->GetTrackType(); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, baseImageIds[direction] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 2, height - 2, 0, 2, height); if (trackType == TrackElemType::EndStation) { - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, _wild_mouse_block_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 2, height, 0, 0, height); } else { - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, _wild_mouse_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 2, height, 0, 0, height); } @@ -235,7 +235,7 @@ static void wild_mouse_track_25_deg_up( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -9, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -269,11 +269,11 @@ static void wild_mouse_track_60_deg_up( uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height); } if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -313,7 +313,7 @@ static void wild_mouse_track_flat_to_25_deg_up( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -4, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -354,12 +354,12 @@ static void wild_mouse_track_25_deg_up_to_60_deg_up( uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); } if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -401,12 +401,12 @@ static void wild_mouse_track_60_deg_up_to_25_deg_up( uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); } if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -439,7 +439,7 @@ static void wild_mouse_track_25_deg_up_to_flat( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -7, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -783,12 +783,12 @@ static void wild_mouse_track_flat_to_60_deg_up( uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height); } if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -830,12 +830,12 @@ static void wild_mouse_track_60_deg_up_to_flat( uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); } else { - sub_98197C_rotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height); } if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -883,7 +883,7 @@ static void wild_mouse_track_brakes( const TileElement* tileElement) { uint32_t imageId = _wild_mouse_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -907,7 +907,7 @@ static void wild_mouse_track_rotation_control_toggle( }; uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); @@ -924,7 +924,7 @@ static void wild_mouse_track_block_brakes( const TileElement* tileElement) { uint32_t imageId = _wild_mouse_block_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); diff --git a/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp b/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp index 6c54067843..ad95826255 100644 --- a/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp @@ -408,10 +408,10 @@ static paint_struct* wooden_rc_track_paint( uint32_t imageId = imageIdTrack | wooden_rc_get_track_colour(session); uint32_t railsImageId = imageIdRails | wooden_rc_get_rails_colour(session); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageId, 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); - return sub_98199C_rotated( + 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); } @@ -1601,36 +1601,36 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23781, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24647, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23786, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24652, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23812, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24678, 0, 0, 32, 27, 0, height, 0, 2, height + 67); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23791, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24657, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23796, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24662, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1651,45 +1651,45 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23782, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24648, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23787, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24653, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23813, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24679, 0, 0, 32, 16, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23792, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24658, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23797, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24663, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23819, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24685, 0, 0, 32, 16, 0, height, 0, 16, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1706,47 +1706,47 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23783, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24649, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23788, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24654, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23814, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24680, 0, 0, 16, 16, 0, height, 16, 16, height + 59); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23793, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24659, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23798, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24664, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23820, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24686, 0, 0, 16, 16, 0, height, 0, 0, height + 59); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1769,51 +1769,51 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23784, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24650, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23789, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24655, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23815, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24681, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23794, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24660, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23817, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24683, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23799, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24665, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23821, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24687, 0, 0, 16, 32, 0, height, 16, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1830,47 +1830,47 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23785, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24651, 0, 0, 27, 32, 2, height, 2, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23790, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24656, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23816, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24682, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23795, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24661, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23818, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24684, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23800, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24666, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23822, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24688, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1902,36 +1902,36 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23761, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24627, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23766, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24632, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23771, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24637, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23807, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24673, 0, 0, 32, 27, 0, height, 0, 2, height + 67); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23776, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24642, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -1952,46 +1952,46 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23762, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24628, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23801, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24667, 0, 0, 32, 16, 0, height, 0, 16, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23767, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24633, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23772, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24638, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23808, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24674, 0, 0, 32, 16, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23777, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24643, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2007,47 +2007,47 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23763, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24629, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23802, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24668, 0, 0, 16, 16, 0, height, 0, 0, height + 59); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23768, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24634, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23773, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24639, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23809, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24675, 0, 0, 16, 16, 0, height, 16, 16, height + 59); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23778, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24644, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2070,51 +2070,51 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23764, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24630, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23803, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24669, 0, 0, 16, 32, 0, height, 16, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23769, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24635, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23805, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24671, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23774, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24640, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23810, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24676, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23779, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24645, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2131,48 +2131,48 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23765, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24631, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23804, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24670, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23770, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24636, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23806, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24672, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23775, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24641, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23811, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24677, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23780, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24646, 0, 0, 27, 32, 2, height, 2, 0, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2221,41 +2221,41 @@ static void wooden_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23725, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24591, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23729, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23741, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24607, 0, 0, 32, 25, 0, height, 0, 3, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23728, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24594, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23732, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23744, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24610, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2272,41 +2272,41 @@ static void wooden_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23726, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24592, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23730, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23742, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24608, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23727, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24593, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23731, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23743, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24609, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2323,41 +2323,41 @@ static void wooden_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23727, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24593, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23731, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23743, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24609, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23726, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24592, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23730, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23742, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24608, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2374,41 +2374,41 @@ static void wooden_rc_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23728, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24594, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23732, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23744, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24610, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23725, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24591, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23729, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23741, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24607, 0, 0, 32, 25, 0, height, 0, 3, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -2440,42 +2440,42 @@ static void wooden_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23733, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23745, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24611, 0, 0, 32, 25, 0, height, 0, 3, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23737, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24603, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23736, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23748, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24614, 0, 0, 32, 25, 0, height, 0, 3, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23740, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24606, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2491,42 +2491,42 @@ static void wooden_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23734, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23746, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24612, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23738, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24604, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23735, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23747, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24613, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23739, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24605, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2542,42 +2542,42 @@ static void wooden_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23735, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23747, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24613, 0, 0, 32, 26, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23739, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24605, 0, 0, 32, 26, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23734, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23746, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24612, 0, 0, 32, 26, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23738, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24604, 0, 0, 32, 26, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -2593,42 +2593,42 @@ static void wooden_rc_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23736, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23748, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24614, 0, 0, 32, 25, 0, height, 0, 3, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23740, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24606, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23733, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23745, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24611, 0, 0, 32, 25, 0, height, 0, 3, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23737, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24603, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3141,41 +3141,41 @@ static void wooden_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23828, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24694, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23831, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24697, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23840, 0, 6, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24706, 0, 6, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23834, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24700, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23825, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24691, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23837, 0, 6, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24703, 0, 6, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3195,44 +3195,44 @@ static void wooden_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23827, 16, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24693, 16, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23830, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24696, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23839, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24705, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23833, 0, 16, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24699, 0, 16, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23824, 16, 16, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24690, 16, 16, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23836, 16, 16, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24702, 16, 16, 16, 16, 0, height, 16, 16, height + 27); break; @@ -3245,41 +3245,41 @@ static void wooden_rc_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23826, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24692, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23829, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24695, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23838, 6, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24704, 6, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23832, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24698, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23823, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24689, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23835, 6, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24701, 6, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3320,41 +3320,41 @@ static void wooden_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23846, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24712, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23849, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24715, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23858, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24724, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23852, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24718, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23843, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24709, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23855, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24721, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3374,44 +3374,44 @@ static void wooden_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23845, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24711, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23848, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24714, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23857, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24723, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23851, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24717, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23842, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24708, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23854, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24720, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -3424,41 +3424,41 @@ static void wooden_rc_track_left_quarter_turn_3_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23844, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24710, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23847, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24713, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23856, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24722, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23850, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24716, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23841, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24707, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23853, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24719, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3499,41 +3499,41 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23906, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24772, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23908, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24774, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23919, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24785, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23910, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24776, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23904, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24770, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23917, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24783, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3558,47 +3558,47 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23905, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24771, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23907, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24773, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23918, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24784, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23909, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24775, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23920, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24786, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23903, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24769, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23916, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24782, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3630,42 +3630,42 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23895, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24761, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23911, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24777, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23897, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24763, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23899, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24765, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23914, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24780, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23901, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24767, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3689,48 +3689,48 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23896, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24762, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23912, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24778, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23898, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24764, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23913, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24779, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23900, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24766, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23915, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24781, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23902, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24768, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -3779,41 +3779,41 @@ static void wooden_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23882, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24748, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23885, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24751, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23894, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24760, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23888, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24754, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23879, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24745, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23891, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24757, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3852,44 +3852,44 @@ static void wooden_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23881, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24747, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23884, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23893, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24759, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23887, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24753, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23878, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24744, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23890, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24756, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -3902,41 +3902,41 @@ static void wooden_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23880, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24746, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23883, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24749, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23892, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24758, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23886, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24752, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23877, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24743, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23889, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24755, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -3962,42 +3962,42 @@ static void wooden_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23879, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24745, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23891, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24757, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23882, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24748, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23885, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24751, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23894, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24760, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23888, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24754, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4040,44 +4040,44 @@ static void wooden_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23878, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24744, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23890, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24756, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23881, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24747, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23884, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23893, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24759, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23887, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24753, 0, 0, 16, 16, 2, height, 16, 0, height); break; @@ -4090,42 +4090,42 @@ static void wooden_rc_track_left_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23877, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24743, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23889, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24755, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23880, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24746, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23883, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24749, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23892, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24758, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23886, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24752, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4155,42 +4155,42 @@ static void wooden_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23859, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24725, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23871, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24737, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23862, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24728, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23865, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24731, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23874, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24740, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23868, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24734, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4228,44 +4228,44 @@ static void wooden_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23860, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24726, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23872, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24738, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23863, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24729, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23866, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23875, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24741, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23869, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24735, 0, 0, 16, 16, 2, height, 16, 0, height); break; @@ -4278,42 +4278,42 @@ static void wooden_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23861, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24727, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23873, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24739, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23864, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24730, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23867, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24733, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23876, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24742, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23870, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24736, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4338,41 +4338,41 @@ static void wooden_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23862, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24728, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23865, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24731, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23874, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24740, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23868, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24734, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23859, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24725, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23871, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24737, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4416,44 +4416,44 @@ static void wooden_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23863, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24729, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23866, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23875, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24741, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23869, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24735, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23860, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24726, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23872, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24738, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; @@ -4466,41 +4466,41 @@ static void wooden_rc_track_right_half_banked_helix_up_small( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23864, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24730, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23867, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24733, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23876, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24742, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23870, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24736, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23861, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24727, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23873, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24739, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4561,41 +4561,41 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23704, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24570, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23709, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24575, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23724, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24590, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23714, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24580, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23699, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24565, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23719, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24585, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4621,45 +4621,45 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23703, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24569, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23708, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24574, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23723, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24589, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23713, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24579, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23698, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24564, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23718, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24584, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4676,47 +4676,47 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23702, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24568, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23707, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24573, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23722, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24588, 0, 0, 16, 16, 0, height, 16, 16, height + 29); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23712, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24578, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23697, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23717, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24583, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4737,45 +4737,45 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23701, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24567, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23706, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24572, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23721, 0, 0, 16, 32, 0, height, 0, 0, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24587, 0, 0, 16, 32, 0, height, 0, 0, height + 33); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23711, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24577, 0, 0, 16, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23696, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24562, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23716, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24582, 0, 0, 16, 32, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4792,41 +4792,41 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23700, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24566, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23705, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24571, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23720, 0, 0, 27, 32, 0, height, 2, 0, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24586, 0, 0, 27, 32, 0, height, 2, 0, height + 33); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23710, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24576, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23695, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24561, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23715, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24581, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4852,42 +4852,42 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23699, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24565, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23719, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24585, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23704, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24570, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23709, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24575, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23724, 0, 0, 27, 32, 0, height, 2, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24590, 0, 0, 27, 32, 0, height, 2, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23714, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24580, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -4917,45 +4917,45 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23698, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24564, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23718, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24584, 0, 0, 16, 32, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23703, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24569, 0, 0, 16, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23708, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24574, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23723, 0, 0, 16, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24589, 0, 0, 16, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23713, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24579, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -4972,47 +4972,47 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23697, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23717, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24583, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23702, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24568, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23707, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24573, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23722, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24588, 0, 0, 16, 16, 0, height, 16, 16, height + 29); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23712, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24578, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5033,46 +5033,46 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23696, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24562, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23716, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24582, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23701, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24567, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23706, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24572, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23721, 0, 0, 32, 16, 0, height, 0, 0, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24587, 0, 0, 32, 16, 0, height, 0, 0, height + 33); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23711, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24577, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -5088,42 +5088,42 @@ static void wooden_rc_track_left_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23695, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24561, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23715, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24581, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23700, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24566, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23705, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24571, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23720, 0, 0, 32, 27, 0, height, 0, 2, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24586, 0, 0, 32, 27, 0, height, 0, 2, height + 33); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23710, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24576, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -5153,42 +5153,42 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23665, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24531, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23685, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24551, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23670, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24536, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23675, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24541, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23690, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24556, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23680, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24546, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -5213,46 +5213,46 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23666, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24532, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23686, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24552, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23671, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24537, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23676, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24542, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23691, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24557, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23681, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24547, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -5268,47 +5268,47 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23667, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23687, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24553, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23672, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24538, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23677, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24543, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23692, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24558, 0, 0, 16, 16, 0, height, 16, 16, height + 29); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23682, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24548, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5329,45 +5329,45 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23668, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24534, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23688, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24554, 0, 0, 16, 32, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23673, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24539, 0, 0, 16, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23678, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24544, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23693, 0, 0, 16, 32, 0, height, 0, 0, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24559, 0, 0, 16, 32, 0, height, 0, 0, height + 33); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23683, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24549, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5384,42 +5384,42 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23669, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24535, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23689, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24555, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23674, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24540, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23679, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24545, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23694, 0, 0, 27, 32, 0, height, 2, 0, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24560, 0, 0, 27, 32, 0, height, 2, 0, height + 33); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23684, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24550, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -5444,41 +5444,41 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23670, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24536, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23675, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24541, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23690, 0, 0, 27, 32, 0, height, 2, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24556, 0, 0, 27, 32, 0, height, 2, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23680, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24546, 0, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23665, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24531, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23685, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24551, 0, 0, 20, 32, 0, height, 6, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5509,45 +5509,45 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23671, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24537, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23676, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24542, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23691, 0, 0, 16, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24557, 0, 0, 16, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23681, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24547, 0, 0, 16, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23666, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24532, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23686, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24552, 0, 0, 16, 32, 0, height, 16, 0, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5564,47 +5564,47 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23672, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24538, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23677, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24543, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23692, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24558, 0, 0, 16, 16, 0, height, 16, 16, height + 29); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23682, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24548, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23667, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23687, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24553, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5625,45 +5625,45 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23673, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24539, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23678, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24544, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23693, 0, 0, 32, 16, 0, height, 0, 0, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24559, 0, 0, 32, 16, 0, height, 0, 0, height + 33); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23683, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24549, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23668, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24534, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23688, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24554, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5680,41 +5680,41 @@ static void wooden_rc_track_right_half_banked_helix_up_large( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23674, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24540, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23679, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24545, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23694, 0, 0, 32, 27, 0, height, 0, 2, height + 33); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24560, 0, 0, 32, 27, 0, height, 0, 2, height + 33); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23684, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24550, 0, 0, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23669, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24535, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23689, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24555, 0, 0, 32, 20, 0, height, 0, 6, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -5772,43 +5772,43 @@ static void wooden_rc_track_left_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24209, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25075, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24217, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25083, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24210, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25076, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24218, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25084, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24211, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25077, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24219, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25085, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24212, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25078, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24220, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25086, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -5825,43 +5825,43 @@ static void wooden_rc_track_right_quarter_turn_1_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24213, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25079, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24221, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25087, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24214, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25080, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24222, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25088, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24215, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25081, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24223, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25089, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24216, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25082, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24224, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25090, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } @@ -5914,38 +5914,38 @@ static void wooden_rc_track_25_deg_up_left_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24249, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25115, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24250, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25116, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24257, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25123, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24251, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25117, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24258, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25124, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24252, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25118, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -5970,38 +5970,38 @@ static void wooden_rc_track_25_deg_up_right_banked( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24253, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25119, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24254, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25120, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24259, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25125, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24255, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25121, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24260, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25126, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24256, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25122, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -6026,27 +6026,27 @@ static void wooden_rc_track_on_ride_photo( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23753, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23754, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23753, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23754, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); break; } @@ -6084,75 +6084,75 @@ static void wooden_rc_track_water_splash( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23989, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23997, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24863, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23990, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23998, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24864, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23987, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23995, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24861, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23988, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23996, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24862, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); break; } @@ -6165,75 +6165,75 @@ static void wooden_rc_track_water_splash( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23977, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23985, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24851, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23978, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23986, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24852, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23975, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23983, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24849, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23976, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23984, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24850, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); break; } @@ -6246,40 +6246,40 @@ static void wooden_rc_track_water_splash( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23999, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24865, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24003, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24869, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 24001, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24867, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24000, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24866, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24004, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24870, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 24002, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24868, 0, 0, 32, 25, 2, height, 0, 3, height); break; } @@ -6291,75 +6291,75 @@ static void wooden_rc_track_water_splash( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23975, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23983, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24849, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23976, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23984, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24850, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23977, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23985, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24851, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23978, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23986, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24852, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); break; } @@ -6371,75 +6371,75 @@ static void wooden_rc_track_water_splash( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23987, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23995, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24861, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23988, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23996, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24862, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23989, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23997, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24863, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23990, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); - sub_98199C_rotated( + PaintAddImageAsChildRotated(session, direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated(session, direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 23998, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, session->TrackColours[SCHEME_SUPPORTS] | 24864, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_track_colour(session) | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); break; } @@ -6462,41 +6462,41 @@ static void wooden_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24137, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25003, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24141, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25007, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24153, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25019, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24145, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25011, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24149, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25015, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24157, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25023, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6513,45 +6513,45 @@ static void wooden_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24138, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25004, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24142, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25008, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24154, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25020, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24146, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25012, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24150, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25016, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24158, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25024, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6564,47 +6564,47 @@ static void wooden_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24139, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25005, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24143, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25009, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24155, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25021, 0, 0, 16, 16, 0, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24147, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25013, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24151, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25017, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24159, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25025, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6636,44 +6636,44 @@ static void wooden_rc_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24140, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25006, 0, 0, 16, 16, 2, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24144, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25010, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24156, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25022, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24148, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25014, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24152, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25018, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24160, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25026, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; @@ -6695,42 +6695,42 @@ static void wooden_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24113, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24979, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24129, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24995, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24117, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24983, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24121, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24987, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24133, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24999, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24125, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24991, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -6746,46 +6746,46 @@ static void wooden_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24114, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24980, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24130, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24996, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24118, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24984, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24122, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24988, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24134, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25000, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24126, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24992, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -6797,45 +6797,45 @@ static void wooden_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24115, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24981, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24131, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24997, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24119, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24985, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24123, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24989, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24135, 0, 0, 28, 28, 0, height, 4, 4, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25001, 0, 0, 28, 28, 0, height, 4, 4, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24127, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24993, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6867,44 +6867,44 @@ static void wooden_rc_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24116, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24982, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24132, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24998, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24120, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24986, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24124, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24990, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24136, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25002, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24128, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24994, 0, 0, 16, 16, 2, height, 16, 16, height); break; @@ -6944,41 +6944,41 @@ static void wooden_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24185, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25051, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24189, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25055, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24201, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25067, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24193, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25059, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24197, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25063, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24205, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25071, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -6995,45 +6995,45 @@ static void wooden_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24186, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25052, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24190, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25056, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24202, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25068, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24194, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25060, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24198, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25064, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24206, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25072, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7046,47 +7046,47 @@ static void wooden_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24187, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25053, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24191, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25057, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24203, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25069, 0, 0, 16, 16, 0, height, 16, 16, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24195, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25061, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24199, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25065, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24207, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25073, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7118,44 +7118,44 @@ static void wooden_rc_track_left_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24188, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25054, 0, 0, 16, 16, 2, height, 16, 16, height); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24192, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25058, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24204, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25070, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24196, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25062, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24200, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25066, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24208, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25074, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; @@ -7177,42 +7177,42 @@ static void wooden_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24161, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25027, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24177, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25043, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24165, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25031, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24169, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25035, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24181, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25047, 0, 0, 32, 32, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24173, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25039, 0, 0, 32, 32, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -7228,46 +7228,46 @@ static void wooden_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24162, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25028, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24178, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25044, 0, 0, 32, 16, 0, height, 0, 16, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24166, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25032, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24170, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25036, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24182, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25048, 0, 0, 32, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24174, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25040, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -7279,45 +7279,45 @@ static void wooden_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24163, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25029, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24179, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25045, 0, 0, 16, 16, 0, height, 0, 0, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24167, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25033, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24171, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25037, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24183, 0, 0, 28, 28, 0, height, 4, 4, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25049, 0, 0, 28, 28, 0, height, 4, 4, height + 27); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24175, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25041, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7349,44 +7349,44 @@ static void wooden_rc_track_right_eighth_bank_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24164, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25030, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24180, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25046, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24168, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25034, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24172, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25038, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24184, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25050, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24176, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25042, 0, 0, 16, 16, 2, height, 16, 16, height); break; @@ -7428,10 +7428,10 @@ static void wooden_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24050, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24916, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7442,10 +7442,10 @@ static void wooden_rc_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24008, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24874, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7460,16 +7460,16 @@ static void wooden_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24047, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24913, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24051, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24917, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7490,16 +7490,16 @@ static void wooden_rc_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24005, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24871, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24009, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24875, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7530,16 +7530,16 @@ static void wooden_rc_track_diag_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24049, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24915, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24052, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24918, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7560,16 +7560,16 @@ static void wooden_rc_track_diag_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24007, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24873, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24010, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24876, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7588,10 +7588,10 @@ static void wooden_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24048, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24914, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7602,10 +7602,10 @@ static void wooden_rc_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24006, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24872, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7630,10 +7630,10 @@ static void wooden_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24068, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24934, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7644,10 +7644,10 @@ static void wooden_rc_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24026, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24892, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7662,16 +7662,16 @@ static void wooden_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24065, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24931, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24069, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24935, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -7696,16 +7696,16 @@ static void wooden_rc_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24023, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24889, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24027, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24893, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -7742,16 +7742,16 @@ static void wooden_rc_track_diag_25_deg_up( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24067, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24933, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24070, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24936, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -7776,16 +7776,16 @@ static void wooden_rc_track_diag_25_deg_up( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24025, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24891, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24028, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24894, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -7806,10 +7806,10 @@ static void wooden_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24066, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24932, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7820,10 +7820,10 @@ static void wooden_rc_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24024, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24890, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7846,10 +7846,10 @@ static void wooden_rc_track_diag_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24044, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24910, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7861,16 +7861,16 @@ static void wooden_rc_track_diag_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24041, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24907, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24045, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24911, -16, -16, 32, 32, 0, height, -16, -16, height + 91); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7898,16 +7898,16 @@ static void wooden_rc_track_diag_60_deg_up( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24043, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24909, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24046, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24912, -16, -16, 32, 32, 0, height, -16, -16, height + 91); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -7923,10 +7923,10 @@ static void wooden_rc_track_diag_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24042, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24908, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7950,10 +7950,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24056, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24922, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7964,10 +7964,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24014, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24880, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -7982,16 +7982,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24053, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24919, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24057, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24923, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8012,16 +8012,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24011, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24877, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24015, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24881, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8052,16 +8052,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24055, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24921, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24058, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24924, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8082,16 +8082,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24013, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24879, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24016, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24882, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8110,10 +8110,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24054, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24920, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8124,10 +8124,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24012, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24878, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8150,10 +8150,10 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24032, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24898, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8165,16 +8165,16 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24029, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24895, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24899, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8202,16 +8202,16 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24031, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24897, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24900, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8227,10 +8227,10 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24030, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24896, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8252,10 +8252,10 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24038, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24904, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8267,16 +8267,16 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24035, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24901, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24039, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24905, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8304,16 +8304,16 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24037, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24903, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24040, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24906, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8329,10 +8329,10 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24036, -16, -16, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24902, -16, -16, 16, 16, 2, height, 0, 0, height); break; @@ -8356,10 +8356,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24062, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24928, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8370,10 +8370,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24020, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24886, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8388,16 +8388,16 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24059, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24925, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24063, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24929, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -8422,16 +8422,16 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24017, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24883, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24021, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24887, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -8468,16 +8468,16 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24061, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24927, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24064, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24930, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -8502,16 +8502,16 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24019, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24885, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24022, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24888, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -8532,10 +8532,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24060, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24926, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8546,10 +8546,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24018, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24884, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8574,10 +8574,10 @@ static void wooden_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24066, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24932, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8588,10 +8588,10 @@ static void wooden_rc_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24024, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24890, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8606,16 +8606,16 @@ static void wooden_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24067, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24933, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24070, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24936, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -8640,16 +8640,16 @@ static void wooden_rc_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24025, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24891, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24028, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24894, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -8686,16 +8686,16 @@ static void wooden_rc_track_diag_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24065, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24931, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24069, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24935, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -8720,16 +8720,16 @@ static void wooden_rc_track_diag_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24023, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24889, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24027, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24893, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup( @@ -8750,10 +8750,10 @@ static void wooden_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24068, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24934, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8764,10 +8764,10 @@ static void wooden_rc_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24026, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24892, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8790,10 +8790,10 @@ static void wooden_rc_track_diag_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24042, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24908, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8805,16 +8805,16 @@ static void wooden_rc_track_diag_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24043, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24909, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24046, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24912, -16, -16, 32, 32, 0, height, -16, -16, height + 91); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8842,16 +8842,16 @@ static void wooden_rc_track_diag_60_deg_down( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24041, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24907, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24045, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24911, -16, -16, 32, 32, 0, height, -16, -16, height + 91); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -8867,10 +8867,10 @@ static void wooden_rc_track_diag_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24044, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24910, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8894,10 +8894,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24060, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24926, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8908,10 +8908,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24018, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24884, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -8924,16 +8924,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24061, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24927, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24064, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24930, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -8958,16 +8958,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24019, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24885, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24022, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24888, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -9002,16 +9002,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24059, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24925, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24063, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24929, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -9036,16 +9036,16 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24017, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24883, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24021, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24887, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup( @@ -9064,10 +9064,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24062, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24928, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9078,10 +9078,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24020, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24886, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9105,10 +9105,10 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24036, -16, -16, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24902, -16, -16, 16, 16, 2, height, 0, 0, height); break; @@ -9120,16 +9120,16 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24037, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24903, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24040, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24906, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9157,16 +9157,16 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24035, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24901, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24039, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24905, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9182,10 +9182,10 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24038, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24904, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9207,10 +9207,10 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24030, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24896, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9222,16 +9222,16 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24031, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24897, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24900, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9259,16 +9259,16 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24029, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24895, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24899, -16, -16, 32, 32, 0, height, -16, -16, height + 59); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9284,10 +9284,10 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24032, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24898, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9311,10 +9311,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24054, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24920, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9325,10 +9325,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24012, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24878, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9343,16 +9343,16 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24055, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24921, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24058, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24924, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9373,16 +9373,16 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24013, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24879, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24016, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24882, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9413,16 +9413,16 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24053, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24919, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24057, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24923, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9443,16 +9443,16 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24011, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24877, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24015, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24881, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9471,10 +9471,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24056, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24922, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9485,10 +9485,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24014, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24880, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9511,10 +9511,10 @@ static void wooden_rc_track_diag_flat_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24080, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24946, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9526,16 +9526,16 @@ static void wooden_rc_track_diag_flat_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24077, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24943, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24081, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24947, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9563,16 +9563,16 @@ static void wooden_rc_track_diag_flat_to_left_bank( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24079, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24945, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24082, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24948, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9588,10 +9588,10 @@ static void wooden_rc_track_diag_flat_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24078, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24944, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9613,10 +9613,10 @@ static void wooden_rc_track_diag_flat_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24086, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24952, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9628,16 +9628,16 @@ static void wooden_rc_track_diag_flat_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24083, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24949, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24087, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24953, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9665,16 +9665,16 @@ static void wooden_rc_track_diag_flat_to_right_bank( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24085, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24951, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24088, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24954, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9690,10 +9690,10 @@ static void wooden_rc_track_diag_flat_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24084, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24950, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9715,10 +9715,10 @@ static void wooden_rc_track_diag_left_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24084, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24950, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9730,16 +9730,16 @@ static void wooden_rc_track_diag_left_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24085, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24951, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24088, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24954, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9767,16 +9767,16 @@ static void wooden_rc_track_diag_left_bank_to_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24083, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24949, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24087, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24953, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9792,10 +9792,10 @@ static void wooden_rc_track_diag_left_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24086, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24952, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9817,10 +9817,10 @@ static void wooden_rc_track_diag_right_bank_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24078, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24944, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9832,16 +9832,16 @@ static void wooden_rc_track_diag_right_bank_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24079, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24945, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24082, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24948, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9869,16 +9869,16 @@ static void wooden_rc_track_diag_right_bank_to_flat( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24077, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24943, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24081, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24947, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9894,10 +9894,10 @@ static void wooden_rc_track_diag_right_bank_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24080, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24946, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9919,10 +9919,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24104, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24970, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -9934,16 +9934,16 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24101, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24967, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24971, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9971,16 +9971,16 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24103, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24969, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24106, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24972, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -9996,10 +9996,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24102, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24968, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10021,10 +10021,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24110, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24976, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10036,16 +10036,16 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24107, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24973, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24111, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24977, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10073,16 +10073,16 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24109, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24975, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24112, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24978, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10098,10 +10098,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24108, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24974, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10123,10 +10123,10 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24092, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24958, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10138,16 +10138,16 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24089, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24955, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24093, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24959, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10175,16 +10175,16 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24091, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24957, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24094, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24960, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10200,10 +10200,10 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24090, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24956, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10225,10 +10225,10 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24098, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24964, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10240,16 +10240,16 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24095, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24961, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24099, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24965, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10277,16 +10277,16 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24097, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24963, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24966, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10302,10 +10302,10 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24096, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24962, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10327,10 +10327,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24096, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24962, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10340,16 +10340,16 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24097, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24963, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24966, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10375,16 +10375,16 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24095, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24961, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24099, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24965, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10398,10 +10398,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24098, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24964, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10424,10 +10424,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24090, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24956, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10437,16 +10437,16 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24091, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24957, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24094, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24960, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10472,16 +10472,16 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( wooden_b_supports_paint_setup(session, 5, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24089, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24955, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24093, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24959, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10495,10 +10495,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24092, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24958, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10521,10 +10521,10 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24108, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24974, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10536,16 +10536,16 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24109, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24975, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24112, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24978, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10573,16 +10573,16 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24107, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24973, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24111, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24977, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10598,10 +10598,10 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24110, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24976, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10623,10 +10623,10 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24102, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24968, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10638,16 +10638,16 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24103, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24969, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24106, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24972, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10675,16 +10675,16 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24101, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24967, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24971, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10700,10 +10700,10 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24104, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24970, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10725,10 +10725,10 @@ static void wooden_rc_track_diag_left_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24074, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24940, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10740,16 +10740,16 @@ static void wooden_rc_track_diag_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24071, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24937, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24075, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24941, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10777,16 +10777,16 @@ static void wooden_rc_track_diag_left_bank( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24073, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24939, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24076, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24942, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10802,10 +10802,10 @@ static void wooden_rc_track_diag_left_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24072, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24938, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10827,10 +10827,10 @@ static void wooden_rc_track_diag_right_bank( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24072, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24938, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10842,16 +10842,16 @@ static void wooden_rc_track_diag_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24073, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24939, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24076, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24942, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10879,16 +10879,16 @@ static void wooden_rc_track_diag_right_bank( wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24071, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24937, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24075, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24941, -16, -16, 32, 32, 0, height, -16, -16, height + 27); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10904,10 +10904,10 @@ static void wooden_rc_track_diag_right_bank( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24074, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24940, -16, -16, 32, 32, 2, height, -16, -16, height); break; @@ -10929,41 +10929,41 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23958, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24824, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23960, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24826, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23971, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24837, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23962, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24828, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23956, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24822, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23969, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24835, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -10988,47 +10988,47 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23957, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24823, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23959, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24825, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23970, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24836, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23961, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24827, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23972, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24838, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23955, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24821, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23968, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24834, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11060,42 +11060,42 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23947, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24813, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23963, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24829, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23949, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24815, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23951, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24817, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23966, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24832, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23953, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24819, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -11119,48 +11119,48 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23948, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24814, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23964, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24830, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23950, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24816, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23965, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24831, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23952, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24818, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23967, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24833, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23954, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24820, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -11191,47 +11191,47 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23950, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24816, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23965, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24831, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23952, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24818, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23967, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24833, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23954, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24820, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23948, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24814, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23964, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24830, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11256,41 +11256,41 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23949, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24815, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23951, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24817, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23966, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24832, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23953, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24819, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23947, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24813, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23963, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24829, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11322,47 +11322,47 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23955, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24821, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23968, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24834, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23957, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24823, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23959, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24825, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23970, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24836, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23961, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24827, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23972, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24838, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11387,42 +11387,42 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23956, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24822, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23969, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24835, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23958, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24824, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23960, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24826, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23971, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24837, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23962, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24828, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -11467,41 +11467,41 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23932, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24798, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23934, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24800, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23945, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24811, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23936, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24802, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23930, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24796, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23943, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24809, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11526,47 +11526,47 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23931, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24797, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23933, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24799, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23944, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24810, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23935, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24801, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23946, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24812, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23929, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24795, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23942, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24808, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11598,42 +11598,42 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23921, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24787, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23937, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24803, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23923, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24789, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23925, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24791, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23940, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24806, 0, 6, 32, 20, 0, height, 0, 6, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23927, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24793, 0, 6, 32, 20, 2, height, 0, 6, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -11657,48 +11657,48 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23922, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24788, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23938, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24804, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23924, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24790, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23939, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24805, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23926, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24792, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23941, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24807, 6, 0, 20, 32, 0, height, 6, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23928, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24794, 6, 0, 20, 32, 2, height, 6, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -11749,36 +11749,36 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24321, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25187, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24326, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25192, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24352, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25218, 0, 0, 32, 27, 0, height, 0, 2, height + 67); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24331, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25197, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24336, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25202, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -11799,45 +11799,45 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24322, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25188, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24327, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25193, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24353, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25219, 0, 0, 32, 16, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24332, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25198, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24337, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25203, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24359, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25225, 0, 0, 32, 16, 0, height, 0, 16, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11854,47 +11854,47 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24323, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25189, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24328, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25194, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24354, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25220, 0, 0, 16, 16, 0, height, 16, 16, height + 59); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24333, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25199, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24338, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25204, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24360, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25226, 0, 0, 16, 16, 0, height, 0, 0, height + 59); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11917,51 +11917,51 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24324, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25190, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24329, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25195, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24355, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25221, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24334, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25200, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24357, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25223, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24339, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25205, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24361, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25227, 0, 0, 16, 32, 0, height, 16, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -11978,47 +11978,47 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24325, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25191, 0, 0, 27, 32, 2, height, 2, 0, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24330, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25196, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24356, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25222, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24335, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25201, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24358, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25224, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24340, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25206, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24362, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25228, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -12050,36 +12050,36 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24301, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25167, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24306, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25172, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24311, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25177, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24347, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25213, 0, 0, 32, 27, 0, height, 0, 2, height + 67); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24316, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25182, 0, 0, 32, 27, 2, height, 0, 2, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12100,46 +12100,46 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24302, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25168, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24341, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25207, 0, 0, 32, 16, 0, height, 0, 16, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24307, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25173, 0, 0, 32, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24312, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25178, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24348, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25214, 0, 0, 32, 16, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24317, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25183, 0, 0, 32, 16, 2, height, 0, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12155,47 +12155,47 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24303, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25169, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24342, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25208, 0, 0, 16, 16, 0, height, 0, 0, height + 59); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24308, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25174, 0, 0, 16, 16, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24313, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25179, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24349, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25215, 0, 0, 16, 16, 0, height, 16, 16, height + 59); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24318, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25184, 0, 0, 16, 16, 2, height, 0, 16, height); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -12218,51 +12218,51 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24304, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25170, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24343, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25209, 0, 0, 16, 32, 0, height, 16, 0, height + 67); wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24309, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25175, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24345, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25211, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24314, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25180, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24350, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25216, 0, 0, 16, 32, 0, height, 0, 0, height + 67); wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24319, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25185, 0, 0, 16, 32, 2, height, 16, 0, height); wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -12279,48 +12279,48 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24305, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25171, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24344, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25210, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24310, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25176, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24346, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25212, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24315, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25181, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24351, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25217, 0, 0, 27, 32, 0, height, 2, 0, height + 67); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24320, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25186, 0, 0, 27, 32, 2, height, 2, 0, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12368,30 +12368,30 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24261, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25127, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24262, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25128, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24263, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25129, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24264, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25130, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12416,30 +12416,30 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24265, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25131, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24266, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25132, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24267, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25133, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24268, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25134, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12464,30 +12464,30 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24269, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25135, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24270, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25136, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24271, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25137, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24272, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25138, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12512,30 +12512,30 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24273, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25139, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24274, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25140, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24275, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25141, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24276, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25142, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12596,38 +12596,38 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24277, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25143, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24278, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25144, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24293, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25159, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24279, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25145, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24294, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25160, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24280, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25146, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12652,38 +12652,38 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24281, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25147, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24282, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25148, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24295, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25161, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24283, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25149, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24296, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25162, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24284, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25150, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12708,38 +12708,38 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24285, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25151, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24286, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25152, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24297, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25163, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24287, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25153, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24298, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25164, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24288, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25154, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12764,38 +12764,38 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24289, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25155, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24290, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25156, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24299, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25165, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24291, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25157, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24300, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25166, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24292, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25158, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12856,38 +12856,38 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24225, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25091, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24226, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25092, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24241, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25107, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24227, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25093, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24242, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25108, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24228, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25094, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12912,38 +12912,38 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24229, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25095, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24230, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25096, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24243, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25109, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24231, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25097, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24244, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25110, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24232, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25098, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -12968,38 +12968,38 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24233, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25099, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24234, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25100, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24245, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25111, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24235, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25101, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24246, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25112, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24236, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25102, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; @@ -13024,38 +13024,38 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24237, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25103, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24238, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25104, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24247, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25113, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24239, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25105, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24248, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25114, 0, 0, 32, 1, 9, height, 0, 26, height + 5); wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24240, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 25106, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); break; diff --git a/src/openrct2/ride/coaster/WoodenWildMouse.cpp b/src/openrct2/ride/coaster/WoodenWildMouse.cpp index c49645c280..0e1867f333 100644 --- a/src/openrct2/ride/coaster/WoodenWildMouse.cpp +++ b/src/openrct2/ride/coaster/WoodenWildMouse.cpp @@ -157,10 +157,10 @@ static void wooden_wild_mouse_track_station( { SPR_WOODEN_WILD_MOUSE_FLAT_NW_SE, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height - 2, 0, 2, height); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height, 0, 0, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -192,7 +192,7 @@ static void wooden_wild_mouse_track_25_deg_up( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); wooden_a_supports_paint_setup( session, direction & 1, 9 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -234,11 +234,11 @@ static void wooden_wild_mouse_track_60_deg_up( uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK]; if (direction == 0 || direction == 3) { - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); } else { - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, imageId, 0, 6, 2, 24, 93, height, 28, 4, height - 16); } @@ -280,7 +280,7 @@ static void wooden_wild_mouse_track_flat_to_25_deg_up( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); wooden_a_supports_paint_setup( session, direction & 1, 1 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -323,15 +323,15 @@ static void wooden_wild_mouse_track_25_deg_up_to_60_deg_up( if (direction == 0 || direction == 3) { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); } else { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); } wooden_a_supports_paint_setup( @@ -374,15 +374,15 @@ static void wooden_wild_mouse_track_60_deg_to_25_deg_up( if (direction == 0 || direction == 3) { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); } else { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - session->WoodenSupportsPrependTo = sub_98197C_rotated( + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated( session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); } wooden_a_supports_paint_setup( @@ -423,7 +423,7 @@ static void wooden_wild_mouse_track_25_deg_up_to_flat( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); wooden_a_supports_paint_setup( session, direction & 1, 5 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -622,14 +622,14 @@ static void wooden_wild_mouse_track_flat_to_60_deg_up( if (direction == 0 || direction == 3) { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); } else { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); } wooden_a_supports_paint_setup( @@ -673,14 +673,14 @@ static void wooden_wild_mouse_track_60_deg_up_to_flat( if (direction == 0 || direction == 3) { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height); } else { imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height); } wooden_a_supports_paint_setup( diff --git a/src/openrct2/ride/gentle/GhostTrain.cpp b/src/openrct2/ride/gentle/GhostTrain.cpp index c38014ff33..654bb03ea5 100644 --- a/src/openrct2/ride/gentle/GhostTrain.cpp +++ b/src/openrct2/ride/gentle/GhostTrain.cpp @@ -134,7 +134,7 @@ static void paint_ghost_train_track_flat( { uint32_t imageId = ghost_train_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_0); @@ -154,10 +154,10 @@ static void paint_ghost_train_track_25_deg_up( const TileElement* tileElement) { uint32_t imageId = ghost_train_track_pieces_25_deg_up[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); imageId = ghost_train_track_pieces_25_deg_up[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 23, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 23, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -191,10 +191,10 @@ static void paint_ghost_train_track_flat_to_25_deg_up( const TileElement* tileElement) { uint32_t imageId = ghost_train_track_pieces_flat_to_25_deg_up[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); imageId = ghost_train_track_pieces_flat_to_25_deg_up[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -227,10 +227,10 @@ static void paint_ghost_train_track_25_deg_up_to_flat_shared( const TileElement* tileElement) { uint32_t imageId = ghost_train_track_pieces_25_deg_up_to_flat[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); imageId = ghost_train_track_pieces_25_deg_up_to_flat[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -322,10 +322,10 @@ static void paint_ghost_train_station( }; imageId = imageIds[direction] | session->TrackColours[SCHEME_MISC]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 28, 3, height - 2, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 28, 3, height - 2, 0, 2, height); imageId = ghost_train_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98199C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 0, height); + PaintAddImageAsChildRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 0, height); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); @@ -423,7 +423,7 @@ static void paint_ghost_train_track_spinning_tunnel( { uint32_t imageId = ghost_train_track_pieces_spinning_tunnel_track[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 28, 20, 3, height, 2, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 28, 20, 3, height, 2, 6, height); track_paint_util_spinning_tunnel_paint(session, 3, height, direction); @@ -442,7 +442,7 @@ static void paint_ghost_train_track_brakes( { uint32_t imageId = ghost_train_track_pieces_brakes[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_0); diff --git a/src/openrct2/ride/transport/MiniatureRailway.cpp b/src/openrct2/ride/transport/MiniatureRailway.cpp index 2b4e17e65b..c8751ae1cc 100644 --- a/src/openrct2/ride/transport/MiniatureRailway.cpp +++ b/src/openrct2/ride/transport/MiniatureRailway.cpp @@ -604,30 +604,30 @@ static void paint_miniature_railway_track_flat( session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); uint32_t imageId, imageIdAlt; - // In the following 3 calls to sub_98197C_rotated/sub_98199C_rotated, we add 1 to the + // In the following 3 calls to PaintAddImageAsParentRotated/PaintAddImageAsChildRotated, we add 1 to the // bound_box_offset_z argument to make straight tracks draw above footpaths if (isSupported) { imageId = miniature_railway_track_floor[direction] | session->TrackColours[SCHEME_SUPPORTS]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = miniature_railway_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK]; if (!paintAsGravel) { - sub_98199C_rotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height); } else { imageIdAlt = miniature_railway_track_to_gravel(imageId); - sub_98199C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height); } if (paintGrooved) { imageIdAlt = miniature_railway_track_to_grooved(imageId); - sub_98199C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2); + PaintAddImageAsChildRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2); imageIdAlt = miniature_railway_track_to_grooved_indent( imageId, session->PathElementOnSameHeight, direction, session->CurrentRotation); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, (imageIdAlt & 0x7FFFF) | IMAGE_TYPE_REMAP | IMAGE_TYPE_TRANSPARENT | (PALETTE_DARKEN_2 << 19), 0, 6, 32, 20, 2, height, 0, 6, height + 2); @@ -638,20 +638,20 @@ static void paint_miniature_railway_track_flat( imageId = miniature_railway_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK]; if (!paintAsGravel) { - sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height); } else { imageIdAlt = miniature_railway_track_to_gravel(imageId); - sub_98197C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height); } if (paintGrooved) { imageIdAlt = miniature_railway_track_to_grooved(imageId); - sub_98197C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2); + PaintAddImageAsParentRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2); imageIdAlt = miniature_railway_track_to_grooved_indent( imageId, session->PathElementOnSameHeight, direction, session->CurrentRotation); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, (imageIdAlt & 0x7FFFF) | IMAGE_TYPE_REMAP | IMAGE_TYPE_TRANSPARENT | (PALETTE_DARKEN_2 << 19), 0, 6, 32, 20, 2, height, 0, 6, height + 2); @@ -674,10 +674,10 @@ static void paint_miniature_railway_station( wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); imageId = miniature_railway_station_floor[direction] | session->TrackColours[SCHEME_MISC]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 28, 2, height - 2, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 28, 2, height - 2, 0, 2, height); imageId = miniature_railway_track_pieces_flat_station[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98199C_rotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 0, height); + PaintAddImageAsChildRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 0, height); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); @@ -695,7 +695,7 @@ static void paint_miniature_railway_track_25_deg_up( { uint32_t imageId = miniature_railway_track_pieces_25_deg_up[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height); switch (direction) { @@ -727,7 +727,7 @@ static void paint_miniature_railway_track_flat_to_25_deg_up( { uint32_t imageId = miniature_railway_track_pieces_flat_to_25_deg_up[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height); switch (direction) { @@ -759,7 +759,7 @@ static void paint_miniature_railway_track_25_deg_up_to_flat( { uint32_t imageId = miniature_railway_track_pieces_25_deg_up_to_flat[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height); switch (direction) { @@ -1063,7 +1063,7 @@ static void paint_miniature_railway_track_s_bend_left( if (!isSupported) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageId, static_cast(offset.x), static_cast(offset.y), bounds.x, bounds.y, 2, height, offset.x, offset.y, height); } @@ -1071,11 +1071,11 @@ static void paint_miniature_railway_track_s_bend_left( { imageId = miniature_railway_s_bend_left_tiles_track_floor[direction & 1][trackSequence] | session->TrackColours[SCHEME_SUPPORTS]; - sub_98197C_rotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height); imageId = miniature_railway_track_pieces_s_bend_left[direction & 1][trackSequence] | session->TrackColours[SCHEME_TRACK]; - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageId, static_cast(offset.x), static_cast(offset.y), bounds.x, bounds.y, 2, height, offset.x, offset.y, height); } @@ -1163,7 +1163,7 @@ static void paint_miniature_railway_track_s_bend_right( CoordsXY bounds = boundsList[trackSequence]; if (!isSupported) { - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageId, static_cast(offset.x), static_cast(offset.y), bounds.x, bounds.y, 2, height, offset.x, offset.y, height); } @@ -1171,11 +1171,11 @@ static void paint_miniature_railway_track_s_bend_right( { imageId = miniature_railway_s_bend_right_tiles_track_floor[direction & 1][trackSequence] | session->TrackColours[SCHEME_SUPPORTS]; - sub_98197C_rotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height); imageId = miniature_railway_track_pieces_s_bend_right[direction & 1][trackSequence] | session->TrackColours[SCHEME_TRACK]; - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageId, static_cast(offset.x), static_cast(offset.y), bounds.x, bounds.y, 2, height, offset.x, offset.y, height); } diff --git a/src/openrct2/ride/transport/SuspendedMonorail.cpp b/src/openrct2/ride/transport/SuspendedMonorail.cpp index c565e6cc03..203fb399da 100644 --- a/src/openrct2/ride/transport/SuspendedMonorail.cpp +++ b/src/openrct2/ride/transport/SuspendedMonorail.cpp @@ -28,13 +28,13 @@ static void suspended_monorail_track_flat( { case 0: case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25853, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25854, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -63,12 +63,12 @@ static void suspended_monorail_track_station( { SPR_STATION_BASE_C_NW_SE, 25854, SPR_STATION_INVERTED_BAR_F_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height); - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); - sub_98199C_rotated( + PaintAddImageAsChildRotated( session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 32, 0, 6, height + 32); track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3); @@ -86,22 +86,22 @@ static void suspended_monorail_track_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25945, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 48); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25946, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 48); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25947, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 48); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25948, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 48); break; @@ -151,22 +151,22 @@ static void suspended_monorail_track_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25937, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25938, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25939, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25940, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; @@ -216,22 +216,22 @@ static void suspended_monorail_track_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25941, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25942, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25943, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25944, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 40); break; @@ -308,22 +308,22 @@ static void suspended_monorail_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25876, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25881, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25886, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25871, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -356,12 +356,12 @@ static void suspended_monorail_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 25880, 0, 0, 32, 16, 3, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25885, 0, 0, 32, 16, 3, height + 32, 0, 16, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25870, 0, 0, 32, 16, 3, height + 32, 0, 16, height + 32); break; @@ -377,17 +377,17 @@ static void suspended_monorail_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25874, 0, 0, 16, 16, 3, height + 32, 0, 16, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25879, 0, 0, 16, 16, 3, height + 32, 16, 16, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25884, 0, 0, 16, 16, 3, height + 32, 16, 0, height + 32); break; @@ -407,7 +407,7 @@ static void suspended_monorail_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25873, 0, 0, 16, 32, 3, height + 32, 16, 0, height + 32); break; @@ -420,7 +420,7 @@ static void suspended_monorail_track_left_quarter_turn_5( session, direction, session->TrackColours[SCHEME_TRACK] | 25883, 0, 0, 16, 32, 3, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25868, 0, 0, 16, 32, 3, height + 32, 16, 0, height + 32); break; @@ -436,22 +436,22 @@ static void suspended_monorail_track_left_quarter_turn_5( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25872, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25877, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25882, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25867, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; @@ -497,22 +497,22 @@ static void suspended_monorail_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25919, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25923, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25922, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25926, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -541,12 +541,12 @@ static void suspended_monorail_track_s_bend_left( session, direction, session->TrackColours[SCHEME_TRACK] | 25924, 0, 0, 32, 26, 3, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25921, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25925, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; @@ -575,12 +575,12 @@ static void suspended_monorail_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25921, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25925, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; @@ -617,22 +617,22 @@ static void suspended_monorail_track_s_bend_left( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25922, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25926, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25919, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25923, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -668,22 +668,22 @@ static void suspended_monorail_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25927, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25931, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25930, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25934, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -704,12 +704,12 @@ static void suspended_monorail_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25928, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25932, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; @@ -754,12 +754,12 @@ static void suspended_monorail_track_s_bend_right( session, direction, session->TrackColours[SCHEME_TRACK] | 25933, 0, 0, 32, 26, 3, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25928, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25932, 0, 0, 32, 26, 3, height + 32, 0, 6, height + 32); break; @@ -788,22 +788,22 @@ static void suspended_monorail_track_s_bend_right( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25930, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25934, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25927, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25931, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -839,22 +839,22 @@ static void suspended_monorail_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25860, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25863, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25866, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25857, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -879,7 +879,7 @@ static void suspended_monorail_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25859, 0, 0, 16, 16, 3, height + 32, 16, 0, height + 32); break; @@ -888,12 +888,12 @@ static void suspended_monorail_track_left_quarter_turn_3( session, direction, session->TrackColours[SCHEME_TRACK] | 25862, 0, 0, 16, 16, 3, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25865, 0, 0, 16, 16, 3, height + 32, 0, 16, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25856, 0, 0, 16, 16, 3, height + 32, 16, 16, height + 32); break; @@ -906,22 +906,22 @@ static void suspended_monorail_track_left_quarter_turn_3( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25858, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25861, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25864, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25855, 0, 0, 20, 32, 3, height + 32, 6, 0, height + 32); break; @@ -967,22 +967,22 @@ static void suspended_monorail_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25903, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25907, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25911, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25915, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -1003,22 +1003,22 @@ static void suspended_monorail_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25904, 0, 0, 32, 16, 3, height + 32, 0, 0, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25908, 0, 0, 34, 16, 3, height + 32, 0, 0, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25912, 0, 0, 32, 16, 3, height + 32, 0, 16, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25916, 0, 0, 32, 16, 3, height + 32, 0, 16, height + 32); break; @@ -1034,22 +1034,22 @@ static void suspended_monorail_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25905, 0, 0, 16, 16, 3, height + 32, 0, 16, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25909, 0, 0, 16, 16, 3, height + 32, 16, 16, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25913, 0, 0, 16, 16, 3, height + 32, 16, 0, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25917, 0, 0, 16, 16, 3, height + 32, 0, 0, height + 32); break; @@ -1068,22 +1068,22 @@ static void suspended_monorail_track_left_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25906, 0, 0, 16, 16, 3, height + 32, 16, 16, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25910, 0, 0, 16, 18, 3, height + 32, 0, 16, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25914, 0, 0, 16, 16, 3, height + 32, 0, 0, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25918, 0, 0, 16, 16, 3, height + 32, 16, 0, height + 32); break; @@ -1130,22 +1130,22 @@ static void suspended_monorail_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25887, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25891, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25895, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25899, 0, 0, 32, 20, 3, height + 32, 0, 6, height + 32); break; @@ -1166,22 +1166,22 @@ static void suspended_monorail_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25888, 0, 0, 32, 16, 3, height + 32, 0, 16, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25892, 0, 0, 32, 16, 3, height + 32, 0, 16, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25896, 0, 0, 34, 16, 3, height + 32, 0, 0, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25900, 0, 0, 32, 16, 3, height + 32, 0, 0, height + 32); break; @@ -1197,22 +1197,22 @@ static void suspended_monorail_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25889, 0, 0, 16, 16, 3, height + 32, 0, 0, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25893, 0, 0, 16, 16, 3, height + 32, 16, 0, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25897, 0, 0, 28, 28, 3, height + 32, 4, 4, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25901, 0, 0, 16, 16, 3, height + 32, 0, 16, height + 32); break; @@ -1231,22 +1231,22 @@ static void suspended_monorail_track_right_eighth_to_diag( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25890, 0, 0, 16, 16, 3, height + 32, 16, 0, height + 32); break; case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25894, 0, 0, 16, 16, 3, height + 32, 0, 0, height + 32); break; case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25898, 0, 0, 16, 18, 3, height + 32, 0, 16, height + 32); break; case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25902, 0, 0, 16, 16, 3, height + 32, 16, 16, height + 32); break; @@ -1311,7 +1311,7 @@ static void suspended_monorail_track_diag_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25936, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 32); break; @@ -1324,7 +1324,7 @@ static void suspended_monorail_track_diag_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25935, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 32); break; @@ -1337,7 +1337,7 @@ static void suspended_monorail_track_diag_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25935, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 32); break; @@ -1350,7 +1350,7 @@ static void suspended_monorail_track_diag_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25936, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 32); break; @@ -1394,7 +1394,7 @@ static void suspended_monorail_track_diag_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25960, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1407,7 +1407,7 @@ static void suspended_monorail_track_diag_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25957, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1420,7 +1420,7 @@ static void suspended_monorail_track_diag_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25959, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1433,7 +1433,7 @@ static void suspended_monorail_track_diag_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25958, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1477,7 +1477,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25952, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1490,7 +1490,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25949, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1503,7 +1503,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25951, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1516,7 +1516,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25950, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1560,7 +1560,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25956, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1573,7 +1573,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25953, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1586,7 +1586,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25955, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1599,7 +1599,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25954, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1643,7 +1643,7 @@ static void suspended_monorail_track_diag_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25958, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1656,7 +1656,7 @@ static void suspended_monorail_track_diag_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25959, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1669,7 +1669,7 @@ static void suspended_monorail_track_diag_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25957, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1682,7 +1682,7 @@ static void suspended_monorail_track_diag_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25960, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 48); break; @@ -1726,7 +1726,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25954, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1738,7 +1738,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25955, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1750,7 +1750,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25953, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1762,7 +1762,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25956, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1806,7 +1806,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat( switch (direction) { case 3: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25950, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1819,7 +1819,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat( switch (direction) { case 0: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25951, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1832,7 +1832,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat( switch (direction) { case 2: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25949, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; @@ -1845,7 +1845,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat( switch (direction) { case 1: - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, session->TrackColours[SCHEME_TRACK] | 25952, -16, -16, 32, 32, 3, height + 32, -16, -16, height + 40); break; diff --git a/src/openrct2/ride/water/DingySlide.cpp b/src/openrct2/ride/water/DingySlide.cpp index 051984330d..dc5fab9111 100644 --- a/src/openrct2/ride/water/DingySlide.cpp +++ b/src/openrct2/ride/water/DingySlide.cpp @@ -370,10 +370,10 @@ static void dinghy_slide_track_flat( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -398,7 +398,7 @@ static void dinghy_slide_track_station( { SPR_DINGHY_SLIDE_STATION_NW_SE, SPR_STATION_BASE_B_NW_SE }, }; - sub_98197C_rotated( + PaintAddImageAsParentRotated( session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height + 3); sub_98196C_rotated( @@ -438,10 +438,10 @@ static void dinghy_slide_track_25_deg_up( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -474,10 +474,10 @@ static void dinghy_slide_track_60_deg_up( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -519,10 +519,10 @@ static void dinghy_slide_track_flat_to_25_deg_up( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -555,10 +555,10 @@ static void dinghy_slide_track_25_deg_up_to_60_deg_up( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -591,10 +591,10 @@ static void dinghy_slide_track_60_deg_up_to_25_deg_up( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -636,10 +636,10 @@ static void dinghy_slide_track_25_deg_up_to_flat( uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0; uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -868,16 +868,16 @@ static void dinghy_slide_track_s_bend_left( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); break; case 1: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 0 || direction == 1) { metal_a_supports_paint_setup( @@ -892,8 +892,8 @@ static void dinghy_slide_track_s_bend_left( break; case 2: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 2 || direction == 3) { metal_a_supports_paint_setup( @@ -907,8 +907,8 @@ static void dinghy_slide_track_s_bend_left( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); @@ -963,16 +963,16 @@ static void dinghy_slide_track_s_bend_right( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); break; case 1: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 0 || direction == 1) { metal_a_supports_paint_setup( @@ -986,8 +986,8 @@ static void dinghy_slide_track_s_bend_right( break; case 2: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 2 || direction == 3) { metal_a_supports_paint_setup( @@ -1000,8 +1000,8 @@ static void dinghy_slide_track_s_bend_right( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); @@ -1127,10 +1127,10 @@ static void dinghy_slide_track_flat_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1156,10 +1156,10 @@ static void dinghy_slide_track_25_deg_up_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1192,10 +1192,10 @@ static void dinghy_slide_track_60_deg_up_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1228,10 +1228,10 @@ static void dinghy_slide_track_flat_to_25_deg_up_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1264,10 +1264,10 @@ static void dinghy_slide_track_25_deg_up_to_60_deg_up_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1300,10 +1300,10 @@ static void dinghy_slide_track_60_deg_up_to_25_deg_up_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1336,10 +1336,10 @@ static void dinghy_slide_track_25_deg_up_to_flat_covered( }; uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -1563,16 +1563,16 @@ static void dinghy_slide_track_s_bend_left_covered( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); break; case 1: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 0 || direction == 1) { metal_a_supports_paint_setup( @@ -1587,8 +1587,8 @@ static void dinghy_slide_track_s_bend_left_covered( break; case 2: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 2 || direction == 3) { metal_a_supports_paint_setup( @@ -1602,8 +1602,8 @@ static void dinghy_slide_track_s_bend_left_covered( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); @@ -1658,16 +1658,16 @@ static void dinghy_slide_track_s_bend_right_covered( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); break; case 1: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 0 || direction == 1) { metal_a_supports_paint_setup( @@ -1681,8 +1681,8 @@ static void dinghy_slide_track_s_bend_right_covered( break; case 2: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 2 || direction == 3) { metal_a_supports_paint_setup( @@ -1695,8 +1695,8 @@ static void dinghy_slide_track_s_bend_right_covered( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); diff --git a/src/openrct2/ride/water/LogFlume.cpp b/src/openrct2/ride/water/LogFlume.cpp index 369731cf9a..cb15bc2051 100644 --- a/src/openrct2/ride/water/LogFlume.cpp +++ b/src/openrct2/ride/water/LogFlume.cpp @@ -168,8 +168,8 @@ static void paint_log_flume_track_flat( uint32_t imageId = LogFlumeTrackFlatImageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = LogFlumeTrackFlatImageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -187,7 +187,7 @@ static void paint_log_flume_track_station( const TileElement* tileElement) { uint32_t imageId = LogFlumeTrackFlatImageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height + 3); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height + 3); if (direction & 1) { @@ -233,8 +233,8 @@ static void paint_log_flume_track_25_deg_up( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -268,8 +268,8 @@ static void paint_log_flume_track_flat_to_25_deg_up( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -303,8 +303,8 @@ static void paint_log_flume_track_25_deg_up_to_flat( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -338,8 +338,8 @@ static void paint_log_flume_track_25_deg_down( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -373,8 +373,8 @@ static void paint_log_flume_track_flat_to_25_deg_down( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -408,8 +408,8 @@ static void paint_log_flume_track_25_deg_down_to_flat( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); if (track_paint_util_should_paint_supports(session->MapPosition)) { @@ -459,16 +459,16 @@ static void paint_log_flume_track_s_bend_left( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); break; case 1: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 0 || direction == 1) { metal_a_supports_paint_setup( @@ -483,8 +483,8 @@ static void paint_log_flume_track_s_bend_left( break; case 2: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 2 || direction == 3) { metal_a_supports_paint_setup( @@ -498,8 +498,8 @@ static void paint_log_flume_track_s_bend_left( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); @@ -554,16 +554,16 @@ static void paint_log_flume_track_s_bend_right( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); break; case 1: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 0 || direction == 1) { metal_a_supports_paint_setup( @@ -577,8 +577,8 @@ static void paint_log_flume_track_s_bend_right( break; case 2: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); if (direction == 2 || direction == 3) { metal_a_supports_paint_setup( @@ -591,8 +591,8 @@ static void paint_log_flume_track_s_bend_right( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height( session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); @@ -770,10 +770,10 @@ static void paint_log_flume_track_on_ride_photo( } imageId = LogFlumeTrackFlatImageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 0, height, 0, 6, height + 3); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 0, height, 0, 6, height + 3); imageId = LogFlumeTrackFlatImageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 21, height, 0, 27, height + 5); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 21, height, 0, 27, height + 5); track_paint_util_onride_photo_paint(session, direction, height + 3, tileElement); @@ -796,8 +796,8 @@ static void paint_log_flume_track_reverser( uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]); diff --git a/src/openrct2/ride/water/SplashBoats.cpp b/src/openrct2/ride/water/SplashBoats.cpp index e6a2810418..c176f320b1 100644 --- a/src/openrct2/ride/water/SplashBoats.cpp +++ b/src/openrct2/ride/water/SplashBoats.cpp @@ -480,8 +480,8 @@ static void paint_splash_boats_track_25_deg_up( uint32_t imageId = SplashBoats25DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats25DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); wooden_a_supports_paint_setup( session, (direction & 1), 9 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -505,8 +505,8 @@ static void paint_splash_boats_track_60_deg_up( uint32_t imageId = SplashBoats60DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats60DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - session->WoodenSupportsPrependTo = sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 98, height, 0, 27, height); + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 98, height, 0, 27, height); wooden_a_supports_paint_setup( session, (direction & 1), 21 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -530,8 +530,8 @@ static void paint_splash_boats_track_flat_to_25_deg_up( uint32_t imageId = SplashBoatsFlatTo25DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoatsFlatTo25DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); wooden_a_supports_paint_setup( session, (direction & 1), 1 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -555,8 +555,8 @@ static void paint_splash_boats_track_25_deg_up_to_flat( uint32_t imageId = SplashBoats25DegUpToFlatImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats25DegUpToFlatFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); wooden_a_supports_paint_setup( session, (direction & 1), 5 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -580,8 +580,8 @@ static void paint_splash_boats_track_25_deg_up_to_60_deg_up( uint32_t imageId = SplashBoats25DegUpTo60DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats25DegUpTo60DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - session->WoodenSupportsPrependTo = sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup( session, (direction & 1), 13 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -605,8 +605,8 @@ static void paint_splash_boats_track_60_deg_up_to_25_deg_up( uint32_t imageId = SplashBoats60DegUpTo25DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats60DegUpTo25DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - session->WoodenSupportsPrependTo = sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); + session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height); wooden_a_supports_paint_setup( session, (direction & 1), 17 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -630,8 +630,8 @@ static void paint_splash_boats_track_25_deg_down( uint32_t imageId = SplashBoats25DegDownImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats25DegDownFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height); static constexpr const uint8_t specialSupport[] = { 11, 12, 9, 10 }; wooden_a_supports_paint_setup( @@ -663,8 +663,8 @@ static void paint_splash_boats_track_flat_to_25_deg_down( uint32_t imageId = SplashBoatsFlatTo25DegDownImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoatsFlatTo25DegDownFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height); static constexpr const uint8_t specialSupport[] = { 7, 8, 5, 6 }; wooden_a_supports_paint_setup( @@ -705,8 +705,8 @@ static void paint_splash_boats_track_25_deg_down_to_flat( uint32_t imageId = SplashBoats25DegDownToFlatImageId[direction] | session->TrackColours[SCHEME_TRACK]; uint32_t frontImageId = SplashBoats25DegDownToFlatFrontImageId[direction] | session->TrackColours[SCHEME_TRACK]; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height); static constexpr const uint8_t specialSupport[] = { 3, 4, 1, 2 }; wooden_a_supports_paint_setup( @@ -1009,15 +1009,15 @@ static void paint_splash_boats_track_s_bend_left( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); break; case 1: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); wooden_a_supports_paint_setup( session, supportTypes1[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1030,8 +1030,8 @@ static void paint_splash_boats_track_s_bend_left( break; case 2: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); wooden_a_supports_paint_setup( session, supportTypes2[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1043,8 +1043,8 @@ static void paint_splash_boats_track_s_bend_left( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); break; @@ -1101,15 +1101,15 @@ static void paint_splash_boats_track_s_bend_right( switch (trackSequence) { case 0: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); break; case 1: bboy = (direction == 2 || direction == 3) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); wooden_a_supports_paint_setup( session, supportTypes1[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1122,8 +1122,8 @@ static void paint_splash_boats_track_s_bend_right( break; case 2: bboy = (direction == 0 || direction == 1) ? 0 : 6; - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27); wooden_a_supports_paint_setup( session, supportTypes2[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); @@ -1135,8 +1135,8 @@ static void paint_splash_boats_track_s_bend_right( 0xFFFF, 0); break; case 3: - sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height); + PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); break;