diff --git a/src/openrct2/paint/paint.h b/src/openrct2/paint/paint.h index fe4a458d7f..e5044e2475 100644 --- a/src/openrct2/paint/paint.h +++ b/src/openrct2/paint/paint.h @@ -183,7 +183,7 @@ typedef struct paint_session extern paint_session gPaintSession; #ifdef NO_RCT2 -#define gTrackColours gPaintSession.TrackColours +#define gTrackColours session->TrackColours #else #define gPaintStructs RCT2_ADDRESS(0x00EE788C, paint_entry) #define g_currently_drawn_item RCT2_GLOBAL(0x009DE578, void*) diff --git a/src/openrct2/ride/coaster/air_powered_vertical_coaster.c b/src/openrct2/ride/coaster/air_powered_vertical_coaster.c index c23f743b91..2e49d6845c 100644 --- a/src/openrct2/ride/coaster/air_powered_vertical_coaster.c +++ b/src/openrct2/ride/coaster/air_powered_vertical_coaster.c @@ -168,7 +168,7 @@ enum { SPR_AIR_POWERED_VERTICAL_RC_BANKED_QUARTER_TURN_5_FRONT_SE_NE_PART_0 = 22333, }; -static uint32 air_powered_vertical_rc_get_support_colour() +static uint32 air_powered_vertical_rc_get_support_colour(paint_session * session) { uint32 colourFlags = gTrackColours[SCHEME_SUPPORTS]; uint32 trackColour = gTrackColours[SCHEME_TRACK]; @@ -552,7 +552,7 @@ static void air_powered_vertical_rc_track_vertical_slope_up(paint_session * sess static const sint8 bbHeights12[] = { 1, 6, 14, 27, 59 }; static const sint32 supportHeights[] = { 48, 64, 128, 176, 208, 240, 240 }; - uint32 supportsImageId = supportImageIds[trackSequence][direction] | air_powered_vertical_rc_get_support_colour(); + uint32 supportsImageId = supportImageIds[trackSequence][direction] | air_powered_vertical_rc_get_support_colour(session); uint32 trackImageId = trackImageIds[trackSequence][direction] | gTrackColours[SCHEME_TRACK]; sint8 bbHeight; bool isDirection03 = (direction == 0 || direction == 3); @@ -656,7 +656,7 @@ static void air_powered_vertical_rc_track_vertical_up(paint_session * session, u uint32 imageId; switch (trackSequence) { case 0: - imageId = imageIds[direction][0] | air_powered_vertical_rc_get_support_colour(); + imageId = imageIds[direction][0] | air_powered_vertical_rc_get_support_colour(session); sub_98197C_rotated(direction, imageId, 0, 0, 26, 26, 79, height, 3, 3, height); break; case 1: @@ -704,7 +704,7 @@ static void air_powered_vertical_rc_track_vertical_top(paint_session * session, uint32 imageIdS, imageIdT; switch (trackSequence) { case 0: - imageIdS = imageIds[direction][0] | air_powered_vertical_rc_get_support_colour(); + imageIdS = imageIds[direction][0] | air_powered_vertical_rc_get_support_colour(session); imageIdT = imageIds[direction][1] | gTrackColours[SCHEME_TRACK]; if (direction == 0) { sub_98197C_rotated(direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height); @@ -733,7 +733,7 @@ static void air_powered_vertical_rc_track_vertical_top(paint_session * session, paint_util_set_vertical_tunnel(session, height + 80); break; case 3: - imageIdS = imageIds[direction][4] | air_powered_vertical_rc_get_support_colour(); + imageIdS = imageIds[direction][4] | air_powered_vertical_rc_get_support_colour(session); imageIdT = imageIds[direction][5] | gTrackColours[SCHEME_TRACK]; if (direction == 0) { sub_98197C_rotated(direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height); diff --git a/src/openrct2/ride/coaster/wooden_roller_coaster.c b/src/openrct2/ride/coaster/wooden_roller_coaster.c index ce75d6fb75..3a9bb60b5e 100644 --- a/src/openrct2/ride/coaster/wooden_roller_coaster.c +++ b/src/openrct2/ride/coaster/wooden_roller_coaster.c @@ -395,17 +395,18 @@ static const uint32 _wooden_rc_block_brakes_image_ids[4][2] = { { SPR_WOODEN_RC_BLOCK_BRAKES_NW_SE, SPR_WOODEN_RC_BLOCK_BRAKES_RAILS_NW_SE }, }; -static uint32 wooden_rc_get_track_colour() +static uint32 wooden_rc_get_track_colour(paint_session * session) { return (gTrackColours[SCHEME_TRACK] & ~0xF80000) | gTrackColours[SCHEME_SUPPORTS]; } -static uint32 wooden_rc_get_rails_colour() +static uint32 wooden_rc_get_rails_colour(paint_session * session) { return gTrackColours[SCHEME_TRACK]; } static paint_struct * wooden_rc_track_paint( + paint_session * session, uint32 imageIdTrack, uint32 imageIdRails, uint8 direction, @@ -414,19 +415,19 @@ static paint_struct * wooden_rc_track_paint( sint16 z_offset, sint16 bound_box_offset_x, sint16 bound_box_offset_y, sint16 bound_box_offset_z ) { - uint32 imageId = imageIdTrack | wooden_rc_get_track_colour(); - uint32 railsImageId = imageIdRails | wooden_rc_get_rails_colour(); + uint32 imageId = imageIdTrack | wooden_rc_get_track_colour(session); + uint32 railsImageId = imageIdRails | wooden_rc_get_rails_colour(session); sub_98197C_rotated(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(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); } -static void wooden_rc_track_paint_bb(const sprite_bb_2 *bb, sint16 height) +static void wooden_rc_track_paint_bb(paint_session * session, const sprite_bb_2 *bb, sint16 height) { if (bb->sprite_id_a == 0) return; - uint32 imageId = bb->sprite_id_a | wooden_rc_get_track_colour(); - uint32 railsImageId = bb->sprite_id_b | wooden_rc_get_rails_colour(); + uint32 imageId = bb->sprite_id_a | wooden_rc_get_track_colour(session); + uint32 railsImageId = bb->sprite_id_b | wooden_rc_get_rails_colour(session); sub_98197C(imageId, (sint8)bb->offset.x, (sint8)bb->offset.y, bb->bb_size.x, bb->bb_size.y, (sint8)bb->bb_size.z, height + bb->offset.z, bb->bb_offset.x, bb->bb_offset.y, height + bb->bb_offset.z, get_current_rotation()); sub_98199C(railsImageId, (sint8)bb->offset.x, (sint8)bb->offset.y, bb->bb_size.x, bb->bb_size.y, (sint8)bb->bb_size.z, height + bb->offset.z, bb->bb_offset.x, bb->bb_offset.y, height + bb->bb_offset.z, get_current_rotation()); @@ -449,7 +450,7 @@ static void wooden_rc_track_flat(paint_session * session, uint8 rideIndex, uint8 }; uint8 isChained = track_element_is_lift_hill(mapElement) ? 1 : 0; - wooden_rc_track_paint(imageIds[direction][isChained], railsImageIds[direction][isChained], direction, 0, 2, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][isChained], railsImageIds[direction][isChained], direction, 0, 2, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_6); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -467,11 +468,11 @@ static void wooden_rc_track_station(paint_session * session, uint8 rideIndex, ui sint32 trackType = mapElement->properties.track.type; if (trackType == TRACK_ELEM_END_STATION) { - wooden_rc_track_paint( + wooden_rc_track_paint(session, _wooden_rc_block_brakes_image_ids[direction][0], _wooden_rc_block_brakes_image_ids[direction][1], direction, 0, 2, 32, 27, 2, height, 0, 2, height); } else { - wooden_rc_track_paint( + wooden_rc_track_paint(session, stationImageIds[direction][0], stationImageIds[direction][1], direction, 0, 2, 32, 27, 2, height, 0, 2, height); } @@ -501,9 +502,9 @@ static void wooden_rc_track_25_deg_up(paint_session * session, uint8 rideIndex, }; uint8 isChained = track_element_is_lift_hill(mapElement) ? 1 : 0; - wooden_rc_track_paint(imageIds[isChained][direction][0], imageIds[isChained][direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[isChained][direction][0], imageIds[isChained][direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[isChained][direction][2], imageIds[isChained][direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[isChained][direction][2], imageIds[isChained][direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 9 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -528,9 +529,9 @@ static void wooden_rc_track_60_deg_up(paint_session * session, uint8 rideIndex, }; if (direction == 0 || direction == 3) { - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); } else { - session->WoodenSupportsPrependTo = wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 2, 24, 93, height, 28, 4, height - 16); + session->WoodenSupportsPrependTo = wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 2, 24, 93, height, 28, 4, height - 16); } wooden_a_supports_paint_setup(session, direction & 1, 21 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -563,9 +564,9 @@ static void wooden_rc_track_flat_to_25_deg_up(paint_session * session, uint8 rid }; uint8 isChained = track_element_is_lift_hill(mapElement) ? 1 : 0; - wooden_rc_track_paint(imageIds[isChained][direction][0], imageIds[isChained][direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[isChained][direction][0], imageIds[isChained][direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[isChained][direction][2], imageIds[isChained][direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[isChained][direction][2], imageIds[isChained][direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 1 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -590,10 +591,10 @@ static void wooden_rc_track_25_deg_up_to_60_deg_up(paint_session * session, uint }; if (direction == 0 || direction == 3) { - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); } else { - session->WoodenSupportsPrependTo = wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 2, 24, 43, height, 28, 4, height + 2); - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 2, 43, height, 0, 4, height); + session->WoodenSupportsPrependTo = wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 2, 24, 43, height, 28, 4, height + 2); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 2, 43, height, 0, 4, height); } wooden_a_supports_paint_setup(session, direction & 1, 13 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -618,10 +619,10 @@ static void wooden_rc_track_60_deg_up_to_25_deg_up(paint_session * session, uint }; if (direction == 0 || direction == 3) { - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); } else { - session->WoodenSupportsPrependTo = wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 24, 1, 61, height, 4, 28, height - 16); - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 2, 43, height, 0, 4, height); + session->WoodenSupportsPrependTo = wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 24, 1, 61, height, 4, 28, height - 16); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 2, 43, height, 0, 4, height); } wooden_a_supports_paint_setup(session, direction & 1, 17 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -654,9 +655,9 @@ static void wooden_rc_track_25_deg_up_to_flat(paint_session * session, uint8 rid }; uint8 isChained = track_element_is_lift_hill(mapElement) ? 1 : 0; - wooden_rc_track_paint(imageIds[isChained][direction][0], imageIds[isChained][direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[isChained][direction][0], imageIds[isChained][direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[isChained][direction][2], imageIds[isChained][direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[isChained][direction][2], imageIds[isChained][direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 5 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -793,8 +794,8 @@ static void wooden_rc_track_right_quarter_turn_5(paint_session * session, uint8 { 1, -1, 3, 5, -1, 3, 0 }, }; - wooden_rc_track_paint_bb(&imageIds[0][direction][trackSequence], height); - wooden_rc_track_paint_bb(&imageIds[1][direction][trackSequence], height); + wooden_rc_track_paint_bb(session, &imageIds[0][direction][trackSequence], height); + wooden_rc_track_paint_bb(session, &imageIds[1][direction][trackSequence], height); track_paint_util_right_quarter_turn_5_tiles_tunnel(session, height, direction, trackSequence, TUNNEL_6); if (supportType[direction][trackSequence] != -1) { @@ -831,9 +832,9 @@ static void wooden_rc_track_flat_to_left_bank(paint_session * session, uint8 rid { SPR_WOODEN_RC_FLAT_TO_LEFT_BANK_SE_NW, SPR_WOODEN_RC_FLAT_TO_LEFT_BANK_RAILS_SE_NW, SPR_WOODEN_RC_RC_FLAT_TO_LEFT_BANK_FRONT_SE_NW, SPR_WOODEN_RC_RC_FLAT_TO_LEFT_BANK_RAILS_FRONT_SE_NW }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 3) { - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_6); @@ -851,9 +852,9 @@ static void wooden_rc_track_flat_to_right_bank(paint_session * session, uint8 ri { SPR_WOODEN_RC_FLAT_TO_RIGHT_BANK_SE_NW, SPR_WOODEN_RC_FLAT_TO_RIGHT_BANK_RAILS_SE_NW, 0, 0 }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 0 || direction == 2) { - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_6); @@ -960,8 +961,8 @@ static void wooden_rc_track_banked_right_quarter_turn_5(paint_session * session, { 1, -1, 3, 5, -1, 3, 0 }, }; - wooden_rc_track_paint_bb(&imageIds[0][direction][trackSequence], height); - wooden_rc_track_paint_bb(&imageIds[1][direction][trackSequence], height); + wooden_rc_track_paint_bb(session, &imageIds[0][direction][trackSequence], height); + wooden_rc_track_paint_bb(session, &imageIds[1][direction][trackSequence], height); track_paint_util_right_quarter_turn_5_tiles_tunnel(session, height, direction, trackSequence, TUNNEL_6); if (supportType[direction][trackSequence] != -1) { @@ -998,9 +999,9 @@ static void wooden_rc_track_left_bank_to_25_deg_up(paint_session * session, uint { SPR_WOODEN_RC_LEFT_BANK_TO_25_DEG_SE_NW, SPR_WOODEN_RC_LEFT_BANK_TO_25_DEG_RAILS_SE_NW, 0, 0 }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 1 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); if (direction == 0 || direction == 3) { @@ -1022,9 +1023,9 @@ static void wooden_rc_track_right_bank_to_25_deg_up(paint_session * session, uin { SPR_WOODEN_RC_RIGHT_BANK_TO_25_DEG_SE_NW, SPR_WOODEN_RC_RIGHT_BANK_TO_25_DEG_RAILS_SE_NW, 0, 0 }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 1 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); if (direction == 0 || direction == 3) { @@ -1046,9 +1047,9 @@ static void wooden_rc_track_25_deg_up_to_left_bank(paint_session * session, uint { SPR_WOODEN_RC_25_DEG_TO_LEFT_BANK_SE_NW, SPR_WOODEN_RC_25_DEG_TO_LEFT_BANK_RAILS_SE_NW, 0, 0 }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 5 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); if (direction == 0 || direction == 3) { @@ -1070,9 +1071,9 @@ static void wooden_rc_track_25_deg_up_to_right_bank(paint_session * session, uin { SPR_WOODEN_RC_25_DEG_TO_RIGHT_BANK_SE_NW, SPR_WOODEN_RC_25_DEG_TO_RIGHT_BANK_RAILS_SE_NW, 0, 0 }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); if (direction == 1 || direction == 2) { - wooden_rc_track_paint(imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + wooden_rc_track_paint(session, imageIds[direction][2], imageIds[direction][3], direction, 0, 0, 32, 1, 9, height, 0, 26, height + 5); } wooden_a_supports_paint_setup(session, direction & 1, 5 + direction, height, gTrackColours[SCHEME_SUPPORTS], NULL); if (direction == 0 || direction == 3) { @@ -1118,7 +1119,7 @@ static void wooden_rc_track_left_bank(paint_session * session, uint8 rideIndex, { SPR_WOODEN_RC_LEFT_BANK_SE_NW, SPR_WOODEN_RC_LEFT_BANK_RAILS_SE_NW }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 0, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_6); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -1138,25 +1139,25 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up(paint_session * sessio case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23781, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24647, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23781, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23786, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24652, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23812, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24678, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23786, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24652, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23812, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23791, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24657, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23791, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23796, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24662, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23796, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1173,27 +1174,27 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up(paint_session * sessio case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23782, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24648, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23782, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23787, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24653, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23813, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24679, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23787, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24653, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23813, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23792, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24658, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23792, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23797, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24663, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23819, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24685, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23797, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24663, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23819, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1203,27 +1204,27 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up(paint_session * sessio case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23783, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24649, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23783, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23788, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24654, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23814, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24680, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23788, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24654, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23814, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23793, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24659, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23793, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23798, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24664, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23820, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24686, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23798, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24664, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23820, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1237,29 +1238,29 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up(paint_session * sessio case 5: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23784, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24650, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23784, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23789, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24655, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23815, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24681, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23789, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24655, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23815, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23794, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24660, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23817, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24683, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23794, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24660, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23817, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23799, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24665, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23821, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24687, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23799, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24665, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23821, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1269,29 +1270,29 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up(paint_session * sessio case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23785, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24651, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23785, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23790, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24656, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23816, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24682, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23790, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24656, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23816, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23795, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24661, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23818, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24684, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23795, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24661, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23818, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23800, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24666, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23822, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24688, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23800, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24666, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23822, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1316,25 +1317,25 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up(paint_session * sessi case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23761, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24627, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23761, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23766, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24632, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23766, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23771, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24637, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23807, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24673, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23771, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24637, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23807, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23776, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24642, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23776, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1351,27 +1352,27 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up(paint_session * sessi case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23762, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24628, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23801, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24667, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23762, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24628, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23801, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23767, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24633, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23767, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23772, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24638, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23808, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24674, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23772, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24638, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23808, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23777, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24643, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23777, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1381,27 +1382,27 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up(paint_session * sessi case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23763, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24629, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23802, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24668, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23763, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24629, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23802, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23768, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24634, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23768, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23773, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24639, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23809, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24675, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23773, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24639, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23809, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23778, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24644, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23778, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1415,29 +1416,29 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up(paint_session * sessi case 5: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23764, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24630, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23803, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24669, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23764, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24630, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23803, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23769, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24635, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23805, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24671, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23769, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24635, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23805, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23774, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24640, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23810, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24676, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23774, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24640, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23810, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23779, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24645, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23779, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1447,29 +1448,29 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up(paint_session * sessi case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23765, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24631, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23804, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24670, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23765, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24631, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23804, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23770, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24636, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23806, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24672, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23770, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24636, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23806, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23775, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24641, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23811, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24677, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23775, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24641, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23811, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23780, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24646, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23780, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1508,27 +1509,27 @@ static void wooden_rc_track_s_bend_left(paint_session * session, uint8 rideIndex case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23725, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24591, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23725, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23729, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23741, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24607, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23729, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23741, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23728, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24594, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23728, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23732, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23744, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24610, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23732, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23744, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1541,27 +1542,27 @@ static void wooden_rc_track_s_bend_left(paint_session * session, uint8 rideIndex case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23726, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24592, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23726, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23730, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23742, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24608, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23730, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23742, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23727, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24593, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23727, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23731, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23743, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24609, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23731, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23743, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1571,27 +1572,27 @@ static void wooden_rc_track_s_bend_left(paint_session * session, uint8 rideIndex case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23727, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24593, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23727, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23731, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23743, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24609, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23731, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23743, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23726, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24592, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23726, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23730, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23742, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24608, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23730, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23742, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1601,27 +1602,27 @@ static void wooden_rc_track_s_bend_left(paint_session * session, uint8 rideIndex case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23728, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24594, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23728, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23732, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23744, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24610, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23732, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23744, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23725, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24591, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23725, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23729, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23741, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24607, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23729, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23741, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1646,27 +1647,27 @@ static void wooden_rc_track_s_bend_right(paint_session * session, uint8 rideInde case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23733, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23745, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24611, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23733, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23745, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23737, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24603, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23737, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23736, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23748, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24614, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23736, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23748, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23740, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24606, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23740, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1679,27 +1680,27 @@ static void wooden_rc_track_s_bend_right(paint_session * session, uint8 rideInde case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23734, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23746, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24612, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23734, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23746, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23738, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24604, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23738, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23735, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23747, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24613, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23735, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23747, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23739, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24605, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23739, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1709,27 +1710,27 @@ static void wooden_rc_track_s_bend_right(paint_session * session, uint8 rideInde case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23735, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23747, 0, 0, 32, 26, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24613, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23735, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23747, 0, 0, 32, 26, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23739, 0, 0, 32, 26, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24605, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23739, 0, 0, 32, 26, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23734, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23746, 0, 0, 32, 26, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24612, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23734, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23746, 0, 0, 32, 26, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23738, 0, 0, 32, 26, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24604, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23738, 0, 0, 32, 26, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1739,27 +1740,27 @@ static void wooden_rc_track_s_bend_right(paint_session * session, uint8 rideInde case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23736, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23748, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24614, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23736, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23748, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23740, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24606, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23740, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23733, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23745, 0, 0, 32, 25, 0, height, 0, 3, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24611, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23733, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23745, 0, 0, 32, 25, 0, height, 0, 3, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23737, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24603, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23737, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -1784,16 +1785,16 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 0: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23453, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23453, 0, 6, 32, 20, 3, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23461, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23461, 0, 6, 32, 20, 3, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23460, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23460, 0, 6, 32, 20, 3, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23468, 0, 6, 32, 20, 7, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23468, 0, 6, 32, 20, 7, height); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 8, height, gTrackColours[SCHEME_SUPPORTS]); @@ -1806,19 +1807,19 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 1: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23454, 0, 0, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23454, 0, 0, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 20, height, gTrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23462, 0, 14, 32, 2, 63, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23462, 0, 14, 32, 2, 63, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 9, height, gTrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23459, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23459, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23467, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23467, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; } @@ -1828,16 +1829,16 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 2: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23455, 16, 0, 5, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23455, 16, 0, 5, 16, 119, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23463, 12, 0, 3, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23463, 12, 0, 3, 16, 119, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23458, 10, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23458, 10, 16, 4, 16, 119, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23466, 16, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23466, 16, 16, 4, 16, 119, height); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_D0, direction), 0xFFFF, 0); @@ -1846,16 +1847,16 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 3: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23456, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23456, 0, 0, 32, 16, 3, height + 32); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23464, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23464, 0, 0, 32, 16, 3, height + 32); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23457, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23457, 0, 16, 32, 16, 3, height + 32); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23465, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23465, 0, 16, 32, 16, 3, height + 32); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_B8 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0); @@ -1870,16 +1871,16 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 6: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23457, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23457, 0, 16, 32, 16, 3, height + 32); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23465, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23465, 0, 16, 32, 16, 3, height + 32); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23456, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23456, 0, 0, 32, 16, 3, height + 32); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23464, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23464, 0, 0, 32, 16, 3, height + 32); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0 | SEGMENT_D4, direction), 0xFFFF, 0); @@ -1888,16 +1889,16 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 7: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23458, 10, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23458, 10, 16, 4, 16, 119, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23466, 16, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23466, 16, 16, 4, 16, 119, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23455, 16, 0, 5, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23455, 16, 0, 5, 16, 119, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23463, 12, 0, 3, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23463, 12, 0, 3, 16, 119, height); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D4, direction), 0xFFFF, 0); @@ -1906,19 +1907,19 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 8: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23459, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23459, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23467, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23467, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23454, 0, 0, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23454, 0, 0, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 20, height, gTrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23462, 0, 14, 32, 2, 63, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23462, 0, 14, 32, 2, 63, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 9, height, gTrackColours[SCHEME_SUPPORTS]); break; } @@ -1928,16 +1929,16 @@ static void wooden_rc_track_left_vertical_loop(paint_session * session, uint8 ri case 9: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23460, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23460, 0, 6, 32, 20, 3, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23468, 0, 6, 32, 20, 7, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23468, 0, 6, 32, 20, 7, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23453, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23453, 0, 6, 32, 20, 3, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23461, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23461, 0, 6, 32, 20, 3, height); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 8, height, gTrackColours[SCHEME_SUPPORTS]); @@ -1962,16 +1963,16 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 0: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23484, 0, 6, 32, 20, 7, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23484, 0, 6, 32, 20, 7, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23476, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23476, 0, 6, 32, 20, 3, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23477, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23477, 0, 6, 32, 20, 3, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23469, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23469, 0, 6, 32, 20, 3, height); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 8, height, gTrackColours[SCHEME_SUPPORTS]); @@ -1983,19 +1984,19 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 1: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23483, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23483, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23475, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23475, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23478, 0, 14, 32, 2, 63, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23478, 0, 14, 32, 2, 63, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 9, height, gTrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23470, 0, 0, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23470, 0, 0, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 20, height, gTrackColours[SCHEME_SUPPORTS]); break; } @@ -2004,16 +2005,16 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 2: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23482, 16, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23482, 16, 16, 4, 16, 119, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23474, 10, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23474, 10, 16, 4, 16, 119, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23479, 12, 0, 3, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23479, 12, 0, 3, 16, 119, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23471, 16, 0, 5, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23471, 16, 0, 5, 16, 119, height); break; } paint_util_set_general_support_height(session, height + 168, 0x20); @@ -2021,16 +2022,16 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 3: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23481, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23481, 0, 16, 32, 16, 3, height + 32); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23473, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23473, 0, 16, 32, 16, 3, height + 32); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23480, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23480, 0, 0, 32, 16, 3, height + 32); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23472, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23472, 0, 0, 32, 16, 3, height + 32); break; } paint_util_set_general_support_height(session, height + 48, 0x20); @@ -2044,16 +2045,16 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 6: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23480, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23480, 0, 0, 32, 16, 3, height + 32); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23472, 0, 0, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23472, 0, 0, 32, 16, 3, height + 32); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23481, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23481, 0, 16, 32, 16, 3, height + 32); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23473, 0, 16, 32, 16, 3, height + 32); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23473, 0, 16, 32, 16, 3, height + 32); break; } paint_util_set_general_support_height(session, height + 48, 0x20); @@ -2061,16 +2062,16 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 7: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23479, 12, 0, 3, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23479, 12, 0, 3, 16, 119, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23471, 16, 0, 5, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23471, 16, 0, 5, 16, 119, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23482, 16, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23482, 16, 16, 4, 16, 119, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23474, 10, 16, 4, 16, 119, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23474, 10, 16, 4, 16, 119, height); break; } paint_util_set_general_support_height(session, height + 168, 0x20); @@ -2078,19 +2079,19 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 8: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23478, 0, 14, 32, 2, 63, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23478, 0, 14, 32, 2, 63, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 9, height, gTrackColours[SCHEME_SUPPORTS]); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23470, 0, 0, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23470, 0, 0, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 20, height, gTrackColours[SCHEME_SUPPORTS]); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23483, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23483, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23475, 0, 6, 32, 26, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23475, 0, 6, 32, 26, 3, height); metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 16, height, gTrackColours[SCHEME_SUPPORTS]); break; } @@ -2099,16 +2100,16 @@ static void wooden_rc_track_right_vertical_loop(paint_session * session, uint8 r case 9: switch (direction) { case 0: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23477, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23477, 0, 6, 32, 20, 3, height); break; case 1: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23469, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23469, 0, 6, 32, 20, 3, height); break; case 2: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23484, 0, 6, 32, 20, 7, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23484, 0, 6, 32, 20, 7, height); break; case 3: - sub_98196C_rotated(direction, wooden_rc_get_rails_colour() | 23476, 0, 6, 32, 20, 3, height); + sub_98196C_rotated(direction, wooden_rc_get_rails_colour(session) | 23476, 0, 6, 32, 20, 3, height); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 8, height, gTrackColours[SCHEME_SUPPORTS]); @@ -2134,27 +2135,27 @@ static void wooden_rc_track_left_quarter_turn_3(paint_session * session, uint8 r case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23828, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24694, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23828, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23831, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24697, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23840, 0, 6, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24706, 0, 6, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23831, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24697, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23840, 0, 6, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23834, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24700, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23834, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23825, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24691, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23837, 0, 6, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24703, 0, 6, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23825, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24691, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23837, 0, 6, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2170,24 +2171,24 @@ static void wooden_rc_track_left_quarter_turn_3(paint_session * session, uint8 r case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23827, 16, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24693, 16, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23827, 16, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24693, 16, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23830, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24696, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23839, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24705, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23830, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24696, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23839, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24705, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23833, 0, 16, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24699, 0, 16, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23833, 0, 16, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24699, 0, 16, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23824, 16, 16, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24690, 16, 16, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23836, 16, 16, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24702, 16, 16, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23824, 16, 16, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24690, 16, 16, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23836, 16, 16, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24702, 16, 16, 16, 16, 0, height, 16, 16, height + 27); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_D0, direction), 0xFFFF, 0); @@ -2196,27 +2197,27 @@ static void wooden_rc_track_left_quarter_turn_3(paint_session * session, uint8 r case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23826, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24692, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23826, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23829, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24695, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23838, 6, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24704, 6, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23829, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24695, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23838, 6, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23832, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24698, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23832, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23823, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24689, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23835, 6, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24701, 6, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23823, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24689, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23835, 6, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2248,27 +2249,27 @@ static void wooden_rc_track_left_quarter_turn_3_bank(paint_session * session, ui case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23846, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24712, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23846, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23849, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24715, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23858, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24724, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23849, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24715, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23858, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23852, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24718, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23852, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23843, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24709, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23855, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24721, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23843, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24709, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23855, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2284,24 +2285,24 @@ static void wooden_rc_track_left_quarter_turn_3_bank(paint_session * session, ui case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23845, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24711, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23845, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24711, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23848, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24714, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23857, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24723, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23848, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24714, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23857, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24723, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23851, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24717, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23851, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24717, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23842, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24708, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23854, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24720, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23842, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24708, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23854, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24720, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_D0, direction), 0xFFFF, 0); @@ -2310,27 +2311,27 @@ static void wooden_rc_track_left_quarter_turn_3_bank(paint_session * session, ui case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23844, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24710, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23844, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23847, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24713, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23856, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24722, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23847, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24713, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23856, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23850, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24716, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23850, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23841, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24707, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23853, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24719, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23841, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24707, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23853, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2362,27 +2363,27 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up(paint_session * sessio case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23906, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24772, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23906, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23908, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24774, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23919, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24785, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23908, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24774, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23919, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23910, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24776, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23910, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23904, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24770, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23917, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24783, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23904, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24770, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23917, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2402,29 +2403,29 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up(paint_session * sessio case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23905, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24771, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23905, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23907, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24773, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23918, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24784, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23907, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24773, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23918, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23909, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24775, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23920, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24786, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23909, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24775, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23920, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23903, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24769, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23916, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24782, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23903, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24769, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23916, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2449,27 +2450,27 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up(paint_session * sessi case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23895, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24761, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23911, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24777, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23895, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24761, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23911, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23897, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24763, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23897, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23899, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24765, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23914, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24780, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23899, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24765, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23914, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23901, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24767, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23901, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2489,29 +2490,29 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up(paint_session * sessi case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23896, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24762, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23912, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24778, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23896, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24762, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23912, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23898, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24764, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23913, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24779, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23898, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24764, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23913, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23900, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24766, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23915, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24781, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23900, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24766, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23915, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23902, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24768, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23902, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2550,27 +2551,27 @@ static void wooden_rc_track_left_half_banked_helix_up_small(paint_session * sess case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23882, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24748, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23882, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23885, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24751, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23894, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24760, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23885, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24751, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23894, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23888, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24754, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23888, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23879, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24745, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23891, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24757, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23879, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24745, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23891, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2601,24 +2602,24 @@ static void wooden_rc_track_left_half_banked_helix_up_small(paint_session * sess case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23881, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24747, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23881, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24747, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23884, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23893, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24759, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23884, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23893, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24759, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23887, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24753, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23887, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24753, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23878, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24744, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23890, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24756, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23878, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24744, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23890, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24756, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_D0, direction), 0xFFFF, 0); @@ -2627,27 +2628,27 @@ static void wooden_rc_track_left_half_banked_helix_up_small(paint_session * sess case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23880, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24746, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23880, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23883, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24749, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23892, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24758, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23883, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24749, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23892, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23886, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24752, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23886, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23877, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24743, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23889, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24755, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23877, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24743, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23889, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2666,27 +2667,27 @@ static void wooden_rc_track_left_half_banked_helix_up_small(paint_session * sess case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23879, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24745, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23891, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24757, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23879, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24745, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23891, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23882, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24748, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23882, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23885, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24751, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23894, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24760, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23885, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24751, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23894, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23888, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24754, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23888, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2722,24 +2723,24 @@ static void wooden_rc_track_left_half_banked_helix_up_small(paint_session * sess case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23878, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24744, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23890, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24756, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23878, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24744, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23890, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24756, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23881, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24747, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23881, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24747, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23884, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23893, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24759, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23884, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23893, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24759, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23887, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24753, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23887, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24753, 0, 0, 16, 16, 2, height, 16, 0, height); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_D0 | SEGMENT_D4, direction), 0xFFFF, 0); @@ -2748,27 +2749,27 @@ static void wooden_rc_track_left_half_banked_helix_up_small(paint_session * sess case 7: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23877, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24743, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23889, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24755, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23877, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24743, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23889, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23880, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24746, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23880, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23883, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24749, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23892, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24758, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23883, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24749, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23892, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23886, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24752, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23886, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2789,27 +2790,27 @@ static void wooden_rc_track_right_half_banked_helix_up_small(paint_session * ses case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23859, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24725, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23871, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24737, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23859, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24725, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23871, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23862, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24728, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23862, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23865, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24731, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23874, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24740, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23865, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24731, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23874, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23868, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24734, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23868, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2840,24 +2841,24 @@ static void wooden_rc_track_right_half_banked_helix_up_small(paint_session * ses case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23860, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24726, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23872, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24738, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23860, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24726, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23872, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24738, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23863, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24729, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23863, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24729, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23866, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23875, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24741, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23866, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23875, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24741, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23869, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24735, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23869, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24735, 0, 0, 16, 16, 2, height, 16, 0, height); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_D0 | SEGMENT_D4, direction), 0xFFFF, 0); @@ -2866,27 +2867,27 @@ static void wooden_rc_track_right_half_banked_helix_up_small(paint_session * ses case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23861, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24727, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23873, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24739, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23861, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24727, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23873, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23864, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24730, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23864, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23867, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24733, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23876, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24742, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23867, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24733, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23876, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23870, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24736, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23870, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2905,27 +2906,27 @@ static void wooden_rc_track_right_half_banked_helix_up_small(paint_session * ses case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23862, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24728, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23862, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23865, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24731, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23874, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24740, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23865, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24731, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23874, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23868, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24734, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23868, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23859, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24725, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23871, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24737, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23859, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24725, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23871, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -2961,24 +2962,24 @@ static void wooden_rc_track_right_half_banked_helix_up_small(paint_session * ses case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23863, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24729, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23863, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24729, 0, 0, 16, 16, 2, height, 16, 0, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23866, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23875, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24741, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23866, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23875, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24741, 0, 0, 16, 16, 0, height, 0, 0, height + 27); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23869, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24735, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23869, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24735, 0, 0, 16, 16, 2, height, 0, 16, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23860, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24726, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23872, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24738, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23860, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24726, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23872, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24738, 0, 0, 16, 16, 0, height, 16, 16, height + 27); break; } paint_util_set_segment_support_height(session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_D0, direction), 0xFFFF, 0); @@ -2987,27 +2988,27 @@ static void wooden_rc_track_right_half_banked_helix_up_small(paint_session * ses case 7: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23864, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24730, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23864, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23867, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24733, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23876, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24742, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23867, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24733, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23876, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23870, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24736, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23870, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23861, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24727, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23873, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24739, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23861, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24727, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23873, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3050,27 +3051,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23704, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24570, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23704, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23709, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24575, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23724, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24590, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23709, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24575, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23724, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23714, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24580, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23714, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23699, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24565, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23719, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24585, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23699, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24565, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23719, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3088,27 +3089,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23703, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24569, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23703, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23708, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24574, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23723, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24589, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23708, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24574, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23723, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23713, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24579, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23713, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23698, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24564, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23718, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24584, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23698, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24564, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23718, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3118,27 +3119,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23702, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24568, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23702, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23707, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24573, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23722, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24588, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23707, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24573, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23722, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23712, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24578, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23712, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23697, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23717, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24583, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23697, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23717, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3153,27 +3154,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 5: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23701, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24567, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23701, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23706, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24572, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23721, 0, 0, 16, 32, 0, height, 0, 0, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24587, 0, 0, 16, 32, 0, height, 0, 0, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23706, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24572, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23721, 0, 0, 16, 32, 0, height, 0, 0, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23711, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24577, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23711, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23696, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24562, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23716, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24582, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23696, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24562, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23716, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3183,27 +3184,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23700, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24566, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23700, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23705, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24571, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23720, 0, 0, 27, 32, 0, height, 2, 0, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24586, 0, 0, 27, 32, 0, height, 2, 0, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23705, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24571, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23720, 0, 0, 27, 32, 0, height, 2, 0, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23710, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24576, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23710, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23695, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24561, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23715, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24581, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23695, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24561, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23715, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3222,27 +3223,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 7: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23699, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24565, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23719, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24585, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23699, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24565, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23719, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23704, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24570, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23704, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23709, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24575, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23724, 0, 0, 27, 32, 0, height, 2, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24590, 0, 0, 27, 32, 0, height, 2, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23709, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24575, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23724, 0, 0, 27, 32, 0, height, 2, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23714, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24580, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23714, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3265,27 +3266,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 9: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23698, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24564, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23718, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24584, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23698, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24564, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23718, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23703, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24569, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23703, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23708, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24574, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23723, 0, 0, 16, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24589, 0, 0, 16, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23708, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24574, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23723, 0, 0, 16, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23713, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24579, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23713, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3295,27 +3296,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 10: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23697, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23717, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24583, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23697, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23717, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23702, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24568, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23702, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23707, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24573, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23722, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24588, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23707, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24573, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23722, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23712, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24578, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23712, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3330,27 +3331,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 12: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23696, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24562, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23716, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24582, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23696, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24562, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23716, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23701, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24567, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23701, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23706, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24572, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23721, 0, 0, 32, 16, 0, height, 0, 0, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24587, 0, 0, 32, 16, 0, height, 0, 0, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23706, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24572, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23721, 0, 0, 32, 16, 0, height, 0, 0, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23711, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24577, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23711, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3360,27 +3361,27 @@ static void wooden_rc_track_left_half_banked_helix_up_large(paint_session * sess case 13: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23695, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24561, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23715, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24581, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23695, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24561, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23715, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23700, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24566, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23700, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23705, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24571, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23720, 0, 0, 32, 27, 0, height, 0, 2, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24586, 0, 0, 32, 27, 0, height, 0, 2, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23705, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24571, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23720, 0, 0, 32, 27, 0, height, 0, 2, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23710, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24576, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23710, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3401,27 +3402,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23665, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24531, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23685, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24551, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23665, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24531, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23685, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23670, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24536, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23670, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23675, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24541, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23690, 0, 0, 32, 27, 0, height, 0, 2, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24556, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23675, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24541, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23690, 0, 0, 32, 27, 0, height, 0, 2, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23680, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24546, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23680, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3439,27 +3440,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23666, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24532, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23686, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24552, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23666, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24532, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23686, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23671, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24537, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23671, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23676, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24542, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23691, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24557, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23676, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24542, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23691, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23681, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24547, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23681, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3469,27 +3470,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23667, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23687, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24553, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23667, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23687, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23672, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24538, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23672, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23677, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24543, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23692, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24558, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23677, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24543, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23692, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23682, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24548, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23682, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3504,27 +3505,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 5: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23668, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24534, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23688, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24554, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23668, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24534, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23688, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23673, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24539, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23673, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23678, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24544, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23693, 0, 0, 16, 32, 0, height, 0, 0, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24559, 0, 0, 16, 32, 0, height, 0, 0, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23678, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24544, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23693, 0, 0, 16, 32, 0, height, 0, 0, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23683, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24549, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23683, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3534,27 +3535,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23669, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24535, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23689, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24555, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23669, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24535, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23689, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23674, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24540, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23674, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23679, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24545, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23694, 0, 0, 27, 32, 0, height, 2, 0, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24560, 0, 0, 27, 32, 0, height, 2, 0, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23679, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24545, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23694, 0, 0, 27, 32, 0, height, 2, 0, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23684, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24550, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23684, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3573,27 +3574,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 7: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23670, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24536, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23670, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23675, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24541, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23690, 0, 0, 27, 32, 0, height, 2, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24556, 0, 0, 27, 32, 0, height, 2, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23675, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24541, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23690, 0, 0, 27, 32, 0, height, 2, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23680, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24546, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23680, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23665, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24531, 0, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23685, 0, 0, 20, 32, 0, height, 6, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24551, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23665, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24531, 0, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23685, 0, 0, 20, 32, 0, height, 6, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3616,27 +3617,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 9: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23671, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24537, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23671, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23676, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24542, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23691, 0, 0, 16, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24557, 0, 0, 16, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23676, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24542, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23691, 0, 0, 16, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23681, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24547, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23681, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23666, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24532, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23686, 0, 0, 16, 32, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24552, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23666, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24532, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23686, 0, 0, 16, 32, 0, height, 16, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3646,27 +3647,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 10: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23672, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24538, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23672, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23677, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24543, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23692, 0, 0, 16, 16, 0, height, 16, 16, height + 29); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24558, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23677, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24543, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23692, 0, 0, 16, 16, 0, height, 16, 16, height + 29); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23682, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24548, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23682, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23667, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23687, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24553, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23667, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23687, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3681,27 +3682,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 12: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23673, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24539, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23673, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23678, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24544, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23693, 0, 0, 32, 16, 0, height, 0, 0, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24559, 0, 0, 32, 16, 0, height, 0, 0, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23678, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24544, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23693, 0, 0, 32, 16, 0, height, 0, 0, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23683, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24549, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23683, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23668, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24534, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23688, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24554, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23668, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24534, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23688, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3711,27 +3712,27 @@ static void wooden_rc_track_right_half_banked_helix_up_large(paint_session * ses case 13: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23674, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24540, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23674, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23679, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24545, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23694, 0, 0, 32, 27, 0, height, 0, 2, height + 33); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24560, 0, 0, 32, 27, 0, height, 0, 2, height + 33); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23679, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24545, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23694, 0, 0, 32, 27, 0, height, 0, 2, height + 33); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23684, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24550, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23684, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23669, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24535, 0, 0, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23689, 0, 0, 32, 20, 0, height, 0, 6, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24555, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23669, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24535, 0, 0, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23689, 0, 0, 32, 20, 0, height, 0, 6, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3772,28 +3773,28 @@ static void wooden_rc_track_left_quarter_turn_1_60_deg_up(paint_session * sessio { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24209, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25075, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24217, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25083, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24209, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25075, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24217, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25083, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24210, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25076, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24218, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25084, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24210, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25076, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24218, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25084, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24211, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25077, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24219, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25085, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24211, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25077, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24219, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25085, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24212, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25078, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24220, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25086, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24212, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25078, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24220, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25086, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } track_paint_util_left_quarter_turn_1_tile_tunnel(session, direction, height, -8, TUNNEL_7, +56, TUNNEL_8); @@ -3806,28 +3807,28 @@ static void wooden_rc_track_right_quarter_turn_1_60_deg_up(paint_session * sessi { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24213, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25079, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24221, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25087, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24213, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25079, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24221, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25087, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24214, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25080, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24222, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25088, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24214, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25080, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24222, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25088, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24215, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25081, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24223, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25089, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24215, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25081, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24223, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25089, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24216, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25082, 0, 0, 28, 28, 3, height, 2, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24224, 0, 0, 28, 28, 1, height, 2, 2, height + 99); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25090, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24216, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25082, 0, 0, 28, 28, 3, height, 2, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24224, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25090, 0, 0, 28, 28, 1, height, 2, 2, height + 99); break; } track_paint_util_right_quarter_turn_1_tile_tunnel(session, direction, height, -8, TUNNEL_7, +56, TUNNEL_8); @@ -3857,7 +3858,7 @@ static void wooden_rc_track_brakes(paint_session * session, uint8 rideIndex, uin { SPR_WOODEN_RC_BRAKES_NW_SE, SPR_WOODEN_RC_BRAKES_RAILS_NW_SE }, }; - wooden_rc_track_paint(imageIds[direction][0], imageIds[direction][1], direction, 0, 2, 32, 25, 2, height, 0, 3, height); + wooden_rc_track_paint(session, imageIds[direction][0], imageIds[direction][1], direction, 0, 2, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_6); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -3869,27 +3870,27 @@ static void wooden_rc_track_25_deg_up_left_banked(paint_session * session, uint8 { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24249, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25115, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24249, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24250, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25116, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24257, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25123, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24250, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25116, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24257, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24251, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25117, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24258, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25124, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24251, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25117, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24258, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24252, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25118, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24252, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3907,27 +3908,27 @@ static void wooden_rc_track_25_deg_up_right_banked(paint_session * session, uint { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24253, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25119, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24253, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24254, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25120, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24259, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25125, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24254, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25120, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24259, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24255, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25121, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24260, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25126, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24255, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25121, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24260, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24256, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25122, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24256, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -3945,20 +3946,20 @@ static void wooden_rc_track_on_ride_photo(paint_session * session, uint8 rideInd { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23753, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23753, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23754, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23754, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23753, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23753, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23754, 0, 2, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23754, 0, 2, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -3987,44 +3988,44 @@ static void wooden_rc_track_water_splash(paint_session * session, uint8 rideInde case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23989, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23989, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23997, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24863, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23990, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23990, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23998, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24864, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23987, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23987, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23995, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24861, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23988, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23988, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23996, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24862, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -4035,44 +4036,44 @@ static void wooden_rc_track_water_splash(paint_session * session, uint8 rideInde case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23977, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23977, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23985, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24851, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23978, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23978, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23986, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24852, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23975, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23975, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23983, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24849, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23976, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23976, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23984, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24850, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -4083,25 +4084,25 @@ static void wooden_rc_track_water_splash(paint_session * session, uint8 rideInde switch (direction) { case 0: case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23999, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24865, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23999, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24865, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24003, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24869, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 24001, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24867, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 24001, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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(direction, wooden_rc_get_track_colour() | 24000, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24866, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24000, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24866, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24004, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24870, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 24002, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24868, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 24002, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24868, 0, 0, 32, 25, 2, height, 0, 3, height); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -4111,44 +4112,44 @@ static void wooden_rc_track_water_splash(paint_session * session, uint8 rideInde case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23975, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23975, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23983, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24849, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23976, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23976, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23984, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24850, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23977, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23977, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23985, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24851, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23978, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23978, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23986, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24852, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -4158,44 +4159,44 @@ static void wooden_rc_track_water_splash(paint_session * session, uint8 rideInde case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23987, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23987, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23995, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24861, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23988, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23988, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23996, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24862, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23989, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23989, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23997, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24863, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23990, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23990, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, 0x61000000 | 5048, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, 0x00000000 | 5053, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 23998, 0, 0, 32, 25, 2, height, 0, 3, height); sub_98199C_rotated(direction, gTrackColours[SCHEME_SUPPORTS] | 24864, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_track_colour() | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_track_colour(session) | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -4213,27 +4214,27 @@ static void wooden_rc_track_left_eighth_to_diag(paint_session * session, uint8 r case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24137, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25003, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24137, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24141, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25007, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24153, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25019, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24141, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25007, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24153, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24145, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25011, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24145, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24149, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25015, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24157, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25023, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24149, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25015, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24157, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4246,27 +4247,27 @@ static void wooden_rc_track_left_eighth_to_diag(paint_session * session, uint8 r case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24138, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25004, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24138, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24142, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25008, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24154, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25020, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24142, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25008, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24154, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24146, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25012, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24146, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24150, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25016, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24158, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25024, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24150, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25016, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24158, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4276,27 +4277,27 @@ static void wooden_rc_track_left_eighth_to_diag(paint_session * session, uint8 r case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24139, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25005, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24139, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24143, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25009, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24155, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25021, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24143, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25009, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24155, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24147, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25013, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24147, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24151, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25017, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24159, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25025, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24151, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25017, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24159, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4324,24 +4325,24 @@ static void wooden_rc_track_left_eighth_to_diag(paint_session * session, uint8 r case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24140, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25006, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24140, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25006, 0, 0, 16, 16, 2, height, 16, 16, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24144, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25010, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24156, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25022, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24144, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25010, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24156, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25022, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24148, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25014, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24148, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25014, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24152, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25018, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24160, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25026, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24152, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25018, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24160, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25026, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -4357,27 +4358,27 @@ static void wooden_rc_track_right_eighth_to_diag(paint_session * session, uint8 case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24113, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24979, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24129, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24995, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24113, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24979, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24129, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24117, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24983, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24117, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24121, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24987, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24133, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24999, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24121, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24987, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24133, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24125, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24991, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24125, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4390,27 +4391,27 @@ static void wooden_rc_track_right_eighth_to_diag(paint_session * session, uint8 case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24114, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24980, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24130, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24996, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24114, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24980, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24130, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24118, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24984, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24118, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24122, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24988, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24134, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25000, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24122, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24988, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24134, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24126, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24992, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24126, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4420,27 +4421,27 @@ static void wooden_rc_track_right_eighth_to_diag(paint_session * session, uint8 case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24115, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24981, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24131, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24997, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24115, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24981, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24131, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24119, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24985, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24119, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24123, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24989, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24135, 0, 0, 28, 28, 0, height, 4, 4, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25001, 0, 0, 28, 28, 0, height, 4, 4, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24123, 0, 0, 28, 28, 2, height, 4, 4, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24989, 0, 0, 28, 28, 2, height, 4, 4, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24135, 0, 0, 28, 28, 0, height, 4, 4, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24127, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24993, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24127, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4468,24 +4469,24 @@ static void wooden_rc_track_right_eighth_to_diag(paint_session * session, uint8 case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24116, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24982, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24132, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24998, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24116, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24982, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24132, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24998, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24120, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24986, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24120, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24986, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24124, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24990, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24136, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25002, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24124, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24990, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24136, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25002, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24128, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24994, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24128, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24994, 0, 0, 16, 16, 2, height, 16, 16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -4515,27 +4516,27 @@ static void wooden_rc_track_left_eighth_bank_to_diag(paint_session * session, ui case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24185, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25051, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24185, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24189, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25055, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24201, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25067, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24189, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25055, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24201, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24193, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25059, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24193, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24197, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25063, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24205, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25071, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24197, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25063, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24205, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4548,27 +4549,27 @@ static void wooden_rc_track_left_eighth_bank_to_diag(paint_session * session, ui case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24186, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25052, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24186, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24190, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25056, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24202, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25068, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24190, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25056, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24202, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24194, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25060, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24194, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24198, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25064, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24206, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25072, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24198, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25064, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24206, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4578,27 +4579,27 @@ static void wooden_rc_track_left_eighth_bank_to_diag(paint_session * session, ui case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24187, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25053, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24187, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24191, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25057, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24203, 0, 0, 16, 16, 0, height, 16, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25069, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24191, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25057, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24203, 0, 0, 16, 16, 0, height, 16, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24195, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25061, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24195, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24199, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25065, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24207, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25073, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24199, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25065, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24207, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4626,24 +4627,24 @@ static void wooden_rc_track_left_eighth_bank_to_diag(paint_session * session, ui case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24188, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25054, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24188, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25054, 0, 0, 16, 16, 2, height, 16, 16, height); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24192, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25058, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24204, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25070, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24192, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25058, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24204, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25070, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24196, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25062, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24196, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25062, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24200, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25066, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24208, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25074, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24200, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25066, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24208, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25074, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -4659,27 +4660,27 @@ static void wooden_rc_track_right_eighth_bank_to_diag(paint_session * session, u case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24161, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25027, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24177, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25043, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24161, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25027, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24177, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24165, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25031, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24165, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24169, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25035, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24181, 0, 0, 32, 32, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25047, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24169, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25035, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24181, 0, 0, 32, 32, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24173, 0, 0, 32, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25039, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24173, 0, 0, 32, 32, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4692,27 +4693,27 @@ static void wooden_rc_track_right_eighth_bank_to_diag(paint_session * session, u case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24162, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25028, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24178, 0, 0, 32, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25044, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24162, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25028, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24178, 0, 0, 32, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24166, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25032, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24166, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24170, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25036, 0, 0, 34, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24182, 0, 0, 32, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25048, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24170, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25036, 0, 0, 34, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24182, 0, 0, 32, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24174, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25040, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24174, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4722,27 +4723,27 @@ static void wooden_rc_track_right_eighth_bank_to_diag(paint_session * session, u case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24163, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25029, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24179, 0, 0, 16, 16, 0, height, 0, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25045, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24163, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25029, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24179, 0, 0, 16, 16, 0, height, 0, 0, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24167, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25033, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24167, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24171, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25037, 0, 0, 28, 28, 2, height, 4, 4, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24183, 0, 0, 28, 28, 0, height, 4, 4, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25049, 0, 0, 28, 28, 0, height, 4, 4, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24171, 0, 0, 28, 28, 2, height, 4, 4, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25037, 0, 0, 28, 28, 2, height, 4, 4, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24183, 0, 0, 28, 28, 0, height, 4, 4, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24175, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25041, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24175, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -4770,24 +4771,24 @@ static void wooden_rc_track_right_eighth_bank_to_diag(paint_session * session, u case 4: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24164, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25030, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24180, 0, 0, 16, 16, 0, height, 16, 0, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25046, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24164, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25030, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24180, 0, 0, 16, 16, 0, height, 16, 0, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25046, 0, 0, 16, 16, 0, height, 16, 0, height + 27); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24168, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25034, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24168, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25034, 0, 0, 16, 16, 2, height, 0, 0, height); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24172, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25038, 0, 0, 16, 18, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24184, 0, 0, 16, 16, 0, height, 0, 16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25050, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24172, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25038, 0, 0, 16, 18, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24184, 0, 0, 16, 16, 0, height, 0, 16, height + 27); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25050, 0, 0, 16, 16, 0, height, 0, 16, height + 27); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24176, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25042, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24176, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25042, 0, 0, 16, 16, 2, height, 16, 16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -4818,15 +4819,15 @@ static void wooden_rc_track_diag_flat(paint_session * session, uint8 rideIndex, if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24050, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24916, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24050, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24916, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24008, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24874, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24008, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24874, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -4837,10 +4838,10 @@ static void wooden_rc_track_diag_flat(paint_session * session, uint8 rideIndex, if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24047, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24913, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24051, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24917, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24047, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24913, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24051, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -4856,10 +4857,10 @@ static void wooden_rc_track_diag_flat(paint_session * session, uint8 rideIndex, } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24005, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24871, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24009, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24875, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24005, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24871, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24009, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -4886,10 +4887,10 @@ static void wooden_rc_track_diag_flat(paint_session * session, uint8 rideIndex, wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24049, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24915, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24052, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24918, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24049, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24915, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24052, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -4905,10 +4906,10 @@ static void wooden_rc_track_diag_flat(paint_session * session, uint8 rideIndex, wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24007, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24873, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24010, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24876, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24007, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24873, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24010, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -4923,15 +4924,15 @@ static void wooden_rc_track_diag_flat(paint_session * session, uint8 rideIndex, if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24048, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24914, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24048, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24914, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24006, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24872, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24006, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24872, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -4949,15 +4950,15 @@ static void wooden_rc_track_diag_25_deg_up(paint_session * session, uint8 rideIn if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24068, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24934, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24068, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24934, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24026, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24892, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24026, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24892, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -4968,10 +4969,10 @@ static void wooden_rc_track_diag_25_deg_up(paint_session * session, uint8 rideIn if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24065, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24931, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24069, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24935, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24065, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24931, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24069, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24935, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -4987,10 +4988,10 @@ static void wooden_rc_track_diag_25_deg_up(paint_session * session, uint8 rideIn } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24023, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24889, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24027, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24893, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24023, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24889, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24027, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24893, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5017,10 +5018,10 @@ static void wooden_rc_track_diag_25_deg_up(paint_session * session, uint8 rideIn wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24067, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24933, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24070, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24936, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24067, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24933, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24070, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24936, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5036,10 +5037,10 @@ static void wooden_rc_track_diag_25_deg_up(paint_session * session, uint8 rideIn wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24025, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24891, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24028, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24894, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24025, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24891, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24028, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24894, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5054,15 +5055,15 @@ static void wooden_rc_track_diag_25_deg_up(paint_session * session, uint8 rideIn if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24066, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24932, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24066, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24932, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24024, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24890, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24024, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24890, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5079,8 +5080,8 @@ static void wooden_rc_track_diag_60_deg_up(paint_session * session, uint8 rideIn case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24044, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24910, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24044, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24910, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5089,10 +5090,10 @@ static void wooden_rc_track_diag_60_deg_up(paint_session * session, uint8 rideIn case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24041, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24907, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24045, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24911, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24041, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24907, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24045, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5117,10 +5118,10 @@ static void wooden_rc_track_diag_60_deg_up(paint_session * session, uint8 rideIn wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24043, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24909, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24046, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24912, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24043, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24909, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24046, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5133,8 +5134,8 @@ static void wooden_rc_track_diag_60_deg_up(paint_session * session, uint8 rideIn case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24042, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24908, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24042, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24908, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5151,15 +5152,15 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(paint_session * session, uint if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24056, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24922, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24056, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24922, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24014, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24880, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24014, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24880, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5170,10 +5171,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(paint_session * session, uint if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24053, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24919, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24057, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24923, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24053, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24919, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24057, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5189,10 +5190,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(paint_session * session, uint } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24011, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24877, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24015, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24881, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24011, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24877, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24015, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5219,10 +5220,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(paint_session * session, uint wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24055, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24921, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24058, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24924, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24055, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24921, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24058, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5238,10 +5239,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(paint_session * session, uint wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24013, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24879, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24016, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24882, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24013, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24879, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24016, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5256,15 +5257,15 @@ static void wooden_rc_track_diag_flat_to_25_deg_up(paint_session * session, uint if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24054, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24920, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24054, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24920, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24012, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24878, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24012, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24878, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5281,8 +5282,8 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up(paint_session * session, case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24032, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24898, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24032, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24898, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5291,10 +5292,10 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up(paint_session * session, case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24029, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24895, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24899, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24029, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24895, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5319,10 +5320,10 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up(paint_session * session, wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24031, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24897, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24900, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24031, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24897, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5335,8 +5336,8 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up(paint_session * session, case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24030, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24896, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24030, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24896, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5352,8 +5353,8 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up(paint_session * session, case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24038, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24904, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24038, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24904, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5362,10 +5363,10 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up(paint_session * session, case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24035, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24901, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24039, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24905, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24035, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24901, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24039, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5390,10 +5391,10 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up(paint_session * session, wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24037, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24903, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24040, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24906, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24037, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24903, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24040, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5406,8 +5407,8 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up(paint_session * session, case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24036, -16, -16, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24902, -16, -16, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24036, -16, -16, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24902, -16, -16, 16, 16, 2, height, 0, 0, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5424,15 +5425,15 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(paint_session * session, uint if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24062, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24928, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24062, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24928, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24020, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24886, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24020, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24886, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5443,10 +5444,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(paint_session * session, uint if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24059, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24925, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24063, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24929, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24059, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24925, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24063, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24929, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5462,10 +5463,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(paint_session * session, uint } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24017, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24883, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24021, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24887, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24017, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24883, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24021, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24887, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5492,10 +5493,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(paint_session * session, uint wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24061, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24927, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24064, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24930, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24061, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24927, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24064, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24930, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5511,10 +5512,10 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(paint_session * session, uint wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24019, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24885, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24022, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24888, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24019, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24885, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24022, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24888, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5529,15 +5530,15 @@ static void wooden_rc_track_diag_25_deg_up_to_flat(paint_session * session, uint if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24060, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24926, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24060, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24926, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24018, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24884, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24018, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24884, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5555,15 +5556,15 @@ static void wooden_rc_track_diag_25_deg_down(paint_session * session, uint8 ride if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24066, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24932, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24066, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24932, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24024, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24890, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24024, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24890, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5574,10 +5575,10 @@ static void wooden_rc_track_diag_25_deg_down(paint_session * session, uint8 ride if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24067, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24933, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24070, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24936, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24067, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24933, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24070, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24936, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5593,10 +5594,10 @@ static void wooden_rc_track_diag_25_deg_down(paint_session * session, uint8 ride } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24025, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24891, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24028, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24894, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24025, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24891, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24028, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24894, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5623,10 +5624,10 @@ static void wooden_rc_track_diag_25_deg_down(paint_session * session, uint8 ride wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24065, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24931, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24069, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24935, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24065, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24931, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24069, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24935, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5642,10 +5643,10 @@ static void wooden_rc_track_diag_25_deg_down(paint_session * session, uint8 ride wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24023, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24889, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24027, -16, -16, 32, 32, 0, height, -16, -16, height + 43); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24893, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24023, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24889, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24027, -16, -16, 32, 32, 0, height, -16, -16, height + 43); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24893, -16, -16, 32, 32, 0, height, -16, -16, height + 43); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5660,15 +5661,15 @@ static void wooden_rc_track_diag_25_deg_down(paint_session * session, uint8 ride if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24068, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24934, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24068, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24934, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24026, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24892, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24026, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24892, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5685,8 +5686,8 @@ static void wooden_rc_track_diag_60_deg_down(paint_session * session, uint8 ride case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24042, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24908, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24042, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24908, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5695,10 +5696,10 @@ static void wooden_rc_track_diag_60_deg_down(paint_session * session, uint8 ride case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24043, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24909, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24046, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24912, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24043, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24909, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24046, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5723,10 +5724,10 @@ static void wooden_rc_track_diag_60_deg_down(paint_session * session, uint8 ride wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24041, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24907, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24045, -16, -16, 32, 32, 0, height, -16, -16, height + 91); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24911, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24041, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24907, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24045, -16, -16, 32, 32, 0, height, -16, -16, height + 91); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5739,8 +5740,8 @@ static void wooden_rc_track_diag_60_deg_down(paint_session * session, uint8 ride case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24044, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24910, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24044, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24910, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5757,15 +5758,15 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(paint_session * session, ui if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24060, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24926, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24060, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24926, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24018, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24884, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24018, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24884, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5774,10 +5775,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(paint_session * session, ui if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24061, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24927, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24064, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24930, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24061, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24927, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24064, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24930, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5793,10 +5794,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(paint_session * session, ui } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24019, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24885, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24022, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24888, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24019, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24885, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24022, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24888, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5821,10 +5822,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(paint_session * session, ui wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24059, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24925, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24063, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24929, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24059, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24925, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24063, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24929, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5840,10 +5841,10 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(paint_session * session, ui wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24017, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24883, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24021, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24887, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24017, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24883, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24021, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24887, -16, -16, 32, 32, 0, height, -16, -16, height + 35); wooden_b_supports_paint_setup(session, 2, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5856,15 +5857,15 @@ static void wooden_rc_track_diag_flat_to_25_deg_down(paint_session * session, ui if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24062, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24928, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24062, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24928, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24020, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24886, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24020, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24886, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -5882,8 +5883,8 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down(paint_session * sess case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24036, -16, -16, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24902, -16, -16, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24036, -16, -16, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24902, -16, -16, 16, 16, 2, height, 0, 0, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5892,10 +5893,10 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down(paint_session * sess case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24037, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24903, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24040, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24906, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24037, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24903, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24040, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5920,10 +5921,10 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down(paint_session * sess wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24035, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24901, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24039, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24905, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24035, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24901, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24039, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -5936,8 +5937,8 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down(paint_session * sess case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24038, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24904, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24038, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24904, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5953,8 +5954,8 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down(paint_session * sess case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24030, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24896, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24030, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24896, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -5963,10 +5964,10 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down(paint_session * sess case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24031, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24897, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24900, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24031, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24897, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24034, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -5991,10 +5992,10 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down(paint_session * sess wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24029, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24895, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24899, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24029, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24895, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24033, -16, -16, 32, 32, 0, height, -16, -16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6007,8 +6008,8 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down(paint_session * sess case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24032, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24898, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24032, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24898, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6025,15 +6026,15 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(paint_session * session, ui if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24054, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24920, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24054, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24920, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24012, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24878, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24012, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24878, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -6044,10 +6045,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(paint_session * session, ui if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24055, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24921, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24058, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24924, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24055, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24921, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24058, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6063,10 +6064,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(paint_session * session, ui } else { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24013, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24879, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24016, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24882, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24013, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24879, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24016, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6093,10 +6094,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(paint_session * session, ui wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24053, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24919, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24057, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24923, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24053, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24919, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24057, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6112,10 +6113,10 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(paint_session * session, ui wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24011, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24877, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24015, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24881, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24011, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24877, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24015, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6130,15 +6131,15 @@ static void wooden_rc_track_diag_25_deg_down_to_flat(paint_session * session, ui if (track_element_is_lift_hill(mapElement)) { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24056, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24922, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24056, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24922, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } else { switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24014, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24880, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24014, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24880, -16, -16, 32, 32, 2, height, -16, -16, height); break; } } @@ -6155,8 +6156,8 @@ static void wooden_rc_track_diag_flat_to_left_bank(paint_session * session, uint case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24080, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24946, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24080, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24946, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6165,10 +6166,10 @@ static void wooden_rc_track_diag_flat_to_left_bank(paint_session * session, uint case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24077, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24943, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24081, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24947, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24077, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24943, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24081, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6193,10 +6194,10 @@ static void wooden_rc_track_diag_flat_to_left_bank(paint_session * session, uint wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24079, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24945, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24082, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24948, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24079, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24945, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24082, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6209,8 +6210,8 @@ static void wooden_rc_track_diag_flat_to_left_bank(paint_session * session, uint case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24078, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24944, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24078, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24944, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6226,8 +6227,8 @@ static void wooden_rc_track_diag_flat_to_right_bank(paint_session * session, uin case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24086, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24952, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24086, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24952, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6236,10 +6237,10 @@ static void wooden_rc_track_diag_flat_to_right_bank(paint_session * session, uin case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24083, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24949, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24087, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24953, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24083, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24949, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24087, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6264,10 +6265,10 @@ static void wooden_rc_track_diag_flat_to_right_bank(paint_session * session, uin wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24085, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24951, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24088, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24954, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24085, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24951, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24088, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6280,8 +6281,8 @@ static void wooden_rc_track_diag_flat_to_right_bank(paint_session * session, uin case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24084, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24950, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24084, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24950, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6297,8 +6298,8 @@ static void wooden_rc_track_diag_left_bank_to_flat(paint_session * session, uint case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24084, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24950, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24084, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24950, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6307,10 +6308,10 @@ static void wooden_rc_track_diag_left_bank_to_flat(paint_session * session, uint case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24085, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24951, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24088, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24954, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24085, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24951, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24088, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6335,10 +6336,10 @@ static void wooden_rc_track_diag_left_bank_to_flat(paint_session * session, uint wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24083, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24949, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24087, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24953, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24083, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24949, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24087, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6351,8 +6352,8 @@ static void wooden_rc_track_diag_left_bank_to_flat(paint_session * session, uint case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24086, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24952, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24086, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24952, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6368,8 +6369,8 @@ static void wooden_rc_track_diag_right_bank_to_flat(paint_session * session, uin case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24078, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24944, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24078, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24944, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6378,10 +6379,10 @@ static void wooden_rc_track_diag_right_bank_to_flat(paint_session * session, uin case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24079, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24945, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24082, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24948, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24079, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24945, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24082, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6406,10 +6407,10 @@ static void wooden_rc_track_diag_right_bank_to_flat(paint_session * session, uin wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24077, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24943, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24081, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24947, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24077, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24943, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24081, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6422,8 +6423,8 @@ static void wooden_rc_track_diag_right_bank_to_flat(paint_session * session, uin case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24080, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24946, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24080, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24946, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6439,8 +6440,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up(paint_session * session, case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24104, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24970, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24104, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24970, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6449,10 +6450,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up(paint_session * session, case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24101, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24967, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24971, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24101, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24967, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6477,10 +6478,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up(paint_session * session, wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24103, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24969, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24106, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24972, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24103, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24969, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24106, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6493,8 +6494,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up(paint_session * session, case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24102, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24968, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24102, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24968, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6510,8 +6511,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up(paint_session * session case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24110, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24976, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24110, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24976, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6520,10 +6521,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up(paint_session * session case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24107, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24973, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24111, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24977, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24107, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24973, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24111, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6548,10 +6549,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up(paint_session * session wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24109, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24975, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24112, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24978, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24109, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24975, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24112, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6564,8 +6565,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up(paint_session * session case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24108, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24974, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24108, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24974, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6581,8 +6582,8 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank(paint_session * session, case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24092, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24958, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24092, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24958, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6591,10 +6592,10 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank(paint_session * session, case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24089, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24955, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24093, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24959, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24089, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24955, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24093, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6619,10 +6620,10 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank(paint_session * session, wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24091, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24957, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24094, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24960, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24091, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24957, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24094, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6635,8 +6636,8 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank(paint_session * session, case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24090, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24956, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24090, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24956, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6652,8 +6653,8 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank(paint_session * session case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24098, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24964, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24098, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24964, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6662,10 +6663,10 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank(paint_session * session case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24095, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24961, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24099, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24965, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24095, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24961, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24099, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6690,10 +6691,10 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank(paint_session * session wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24097, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24963, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24966, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24097, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24963, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6706,8 +6707,8 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank(paint_session * session case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24096, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24962, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24096, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24962, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6723,18 +6724,18 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down(paint_session * sessio case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24096, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24962, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24096, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24962, -16, -16, 32, 32, 2, height, -16, -16, height); break; } break; case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24097, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24963, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24966, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24097, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24963, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24100, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6757,10 +6758,10 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down(paint_session * sessio wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24095, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24961, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24099, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24965, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24095, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24961, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24099, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6771,8 +6772,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down(paint_session * sessio case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24098, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24964, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24098, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24964, -16, -16, 32, 32, 2, height, -16, -16, height); break; } break; @@ -6789,18 +6790,18 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down(paint_session * sessi case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24090, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24956, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24090, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24956, -16, -16, 32, 32, 2, height, -16, -16, height); break; } break; case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24091, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24957, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24094, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24960, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24091, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24957, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24094, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6823,10 +6824,10 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down(paint_session * sessi wooden_b_supports_paint_setup(session, 5, 0, height + 16, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24089, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24955, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24093, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24959, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24089, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24955, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24093, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6837,8 +6838,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down(paint_session * sessi case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24092, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24958, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24092, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24958, -16, -16, 32, 32, 2, height, -16, -16, height); break; } break; @@ -6855,8 +6856,8 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank(paint_session * sessio case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24108, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24974, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24108, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24974, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6865,10 +6866,10 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank(paint_session * sessio case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24109, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24975, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24112, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24978, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24109, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24975, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24112, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6893,10 +6894,10 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank(paint_session * sessio wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24107, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24973, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24111, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24977, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24107, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24973, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24111, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6909,8 +6910,8 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank(paint_session * sessio case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24110, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24976, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24110, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24976, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6926,8 +6927,8 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank(paint_session * sessi case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24102, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24968, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24102, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24968, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6936,10 +6937,10 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank(paint_session * sessi case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24103, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24969, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24106, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24972, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24103, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24969, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24106, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -6964,10 +6965,10 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank(paint_session * sessi wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24101, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24967, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24971, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24101, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24967, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24105, -16, -16, 32, 32, 0, height, -16, -16, height + 35); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -6980,8 +6981,8 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank(paint_session * sessi case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24104, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24970, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24104, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24970, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -6997,8 +6998,8 @@ static void wooden_rc_track_diag_left_bank(paint_session * session, uint8 rideIn case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24074, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24940, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24074, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24940, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7007,10 +7008,10 @@ static void wooden_rc_track_diag_left_bank(paint_session * session, uint8 rideIn case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24071, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24937, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24075, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24941, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24071, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24937, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24075, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -7035,10 +7036,10 @@ static void wooden_rc_track_diag_left_bank(paint_session * session, uint8 rideIn wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24073, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24939, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24076, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24942, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24073, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24939, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24076, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -7051,8 +7052,8 @@ static void wooden_rc_track_diag_left_bank(paint_session * session, uint8 rideIn case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24072, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24938, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24072, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24938, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7068,8 +7069,8 @@ static void wooden_rc_track_diag_right_bank(paint_session * session, uint8 rideI case 0: switch (direction) { case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24072, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24938, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24072, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24938, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7078,10 +7079,10 @@ static void wooden_rc_track_diag_right_bank(paint_session * session, uint8 rideI case 1: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24073, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24939, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24076, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24942, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24073, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24939, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24076, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: @@ -7106,10 +7107,10 @@ static void wooden_rc_track_diag_right_bank(paint_session * session, uint8 rideI wooden_a_supports_paint_setup(session, 5, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24071, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24937, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24075, -16, -16, 32, 32, 0, height, -16, -16, height + 27); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24941, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24071, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24937, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24075, -16, -16, 32, 32, 0, height, -16, -16, height + 27); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: @@ -7122,8 +7123,8 @@ static void wooden_rc_track_diag_right_bank(paint_session * session, uint8 rideI case 3: switch (direction) { case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24074, -16, -16, 32, 32, 2, height, -16, -16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24940, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24074, -16, -16, 32, 32, 2, height, -16, -16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24940, -16, -16, 32, 32, 2, height, -16, -16, height); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7139,27 +7140,27 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up(paint_ses case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23958, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24824, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23958, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23960, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24826, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23971, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24837, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23960, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24826, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23971, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23962, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24828, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23962, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23956, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24822, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23969, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24835, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23956, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24822, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23969, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7179,29 +7180,29 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up(paint_ses case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23957, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24823, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23957, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23959, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24825, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23970, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24836, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23959, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24825, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23970, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23961, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24827, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23972, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24838, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23961, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24827, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23972, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23955, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24821, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23968, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24834, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23955, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24821, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23968, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7226,27 +7227,27 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up(paint_s case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23947, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24813, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23963, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24829, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23947, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24813, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23963, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23949, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24815, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23949, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23951, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24817, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23966, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24832, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23951, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24817, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23966, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23953, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24819, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23953, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7266,29 +7267,29 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up(paint_s case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23948, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24814, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23964, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24830, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23948, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24814, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23964, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23950, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24816, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23965, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24831, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23950, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24816, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23965, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23952, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24818, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23967, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24833, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23952, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24818, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23967, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23954, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24820, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23954, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7313,29 +7314,29 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank(paint_s case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23950, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24816, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23965, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24831, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23950, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24816, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23965, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23952, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24818, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23967, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24833, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23952, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24818, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23967, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23954, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24820, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23954, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23948, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24814, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23964, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24830, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23948, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24814, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23964, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7355,27 +7356,27 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank(paint_s case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23949, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24815, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23949, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23951, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24817, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23966, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24832, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23951, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24817, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23966, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23953, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24819, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23953, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23947, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24813, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23963, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24829, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23947, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24813, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23963, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7400,29 +7401,29 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank(paint case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23955, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24821, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23968, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24834, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23955, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24821, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23968, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23957, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24823, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23957, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23959, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24825, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23970, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24836, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23959, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24825, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23970, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23961, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24827, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23972, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24838, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23961, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24827, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23972, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7442,27 +7443,27 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank(paint case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23956, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24822, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23969, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24835, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23956, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24822, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23969, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23958, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24824, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23958, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23960, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24826, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23971, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24837, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23960, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24826, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23971, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23962, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24828, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23962, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7483,7 +7484,7 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank(paint /** rct2: 0x008ACDF8 */ static void wooden_rc_track_block_brakes(paint_session * session, uint8 rideIndex, uint8 trackSequence, uint8 direction, sint32 height, rct_map_element * mapElement) { - wooden_rc_track_paint( + wooden_rc_track_paint(session, _wooden_rc_block_brakes_image_ids[direction][0], _wooden_rc_block_brakes_image_ids[direction][1], direction, 0, 2, 32, 25, 2, height, 0, 3, height); wooden_a_supports_paint_setup(session, direction & 1, 0, height, gTrackColours[SCHEME_SUPPORTS], NULL); @@ -7499,27 +7500,27 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up(paint_session * case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23932, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24798, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23932, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23934, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24800, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23945, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24811, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23934, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24800, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23945, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23936, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24802, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23936, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23930, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24796, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23943, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24809, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23930, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24796, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23943, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7539,29 +7540,29 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up(paint_session * case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23931, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24797, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23931, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23933, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24799, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23944, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24810, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23933, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24799, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23944, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23935, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24801, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23946, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24812, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23935, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24801, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23946, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23929, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24795, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23942, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24808, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23929, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24795, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23942, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7586,27 +7587,27 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up(paint_session case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23921, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24787, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23937, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24803, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23921, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24787, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23937, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23923, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24789, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23923, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23925, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24791, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23940, 0, 6, 32, 20, 0, height, 0, 6, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24806, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23925, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24791, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23940, 0, 6, 32, 20, 0, height, 0, 6, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23927, 0, 6, 32, 20, 2, height, 0, 6, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24793, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23927, 0, 6, 32, 20, 2, height, 0, 6, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7626,29 +7627,29 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up(paint_session case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23922, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24788, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23938, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24804, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23922, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24788, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23938, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23924, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24790, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23939, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24805, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23924, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24790, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23939, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23926, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24792, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23941, 6, 0, 20, 32, 0, height, 6, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24807, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23926, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 24792, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23941, 6, 0, 20, 32, 0, height, 6, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 23928, 6, 0, 20, 32, 2, height, 6, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 24794, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 23928, 6, 0, 20, 32, 2, height, 6, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7687,25 +7688,25 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(paint_session * case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24321, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25187, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24321, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24326, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25192, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24352, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25218, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24326, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25192, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24352, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24331, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25197, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24331, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24336, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25202, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24336, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7722,27 +7723,27 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(paint_session * case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24322, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25188, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24322, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24327, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25193, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24353, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25219, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24327, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25193, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24353, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24332, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25198, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24332, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24337, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25203, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24359, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25225, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24337, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25203, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24359, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7752,27 +7753,27 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(paint_session * case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24323, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25189, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24323, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24328, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25194, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24354, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25220, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24328, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25194, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24354, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24333, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25199, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24333, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24338, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25204, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24360, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25226, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24338, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25204, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24360, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7786,29 +7787,29 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(paint_session * case 5: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24324, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25190, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24324, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24329, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25195, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24355, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25221, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24329, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25195, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24355, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24334, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25200, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24357, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25223, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24334, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25200, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24357, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24339, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25205, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24361, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25227, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24339, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25205, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24361, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7818,29 +7819,29 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up(paint_session * case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24325, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25191, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24325, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24330, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25196, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24356, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25222, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24330, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25196, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24356, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24335, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25201, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24358, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25224, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24335, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25201, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24358, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24340, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25206, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24362, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25228, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24340, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25206, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24362, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7865,25 +7866,25 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(paint_session case 0: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24301, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25167, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24301, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24306, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25172, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24306, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24311, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25177, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24347, 0, 0, 32, 27, 0, height, 0, 2, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25213, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24311, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25177, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24347, 0, 0, 32, 27, 0, height, 0, 2, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24316, 0, 0, 32, 27, 2, height, 0, 2, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25182, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24316, 0, 0, 32, 27, 2, height, 0, 2, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7900,27 +7901,27 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(paint_session case 2: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24302, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25168, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24341, 0, 0, 32, 16, 0, height, 0, 16, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25207, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24302, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25168, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24341, 0, 0, 32, 16, 0, height, 0, 16, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24307, 0, 0, 32, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25173, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24307, 0, 0, 32, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24312, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25178, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24348, 0, 0, 32, 16, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25214, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24312, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25178, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24348, 0, 0, 32, 16, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24317, 0, 0, 32, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25183, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24317, 0, 0, 32, 16, 2, height, 0, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7930,27 +7931,27 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(paint_session case 3: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24303, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25169, 0, 0, 16, 16, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24342, 0, 0, 16, 16, 0, height, 0, 0, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25208, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24303, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25169, 0, 0, 16, 16, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24342, 0, 0, 16, 16, 0, height, 0, 0, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24308, 0, 0, 16, 16, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25174, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24308, 0, 0, 16, 16, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24313, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25179, 0, 0, 16, 16, 2, height, 16, 16, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24349, 0, 0, 16, 16, 0, height, 16, 16, height + 59); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25215, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24313, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25179, 0, 0, 16, 16, 2, height, 16, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24349, 0, 0, 16, 16, 0, height, 16, 16, height + 59); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24318, 0, 0, 16, 16, 2, height, 0, 16, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25184, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24318, 0, 0, 16, 16, 2, height, 0, 16, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7964,29 +7965,29 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(paint_session case 5: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24304, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25170, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24343, 0, 0, 16, 32, 0, height, 16, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25209, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24304, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25170, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24343, 0, 0, 16, 32, 0, height, 16, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24309, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25175, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24345, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25211, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24309, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25175, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24345, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24314, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25180, 0, 0, 16, 32, 2, height, 0, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24350, 0, 0, 16, 32, 0, height, 0, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25216, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24314, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25180, 0, 0, 16, 32, 2, height, 0, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24350, 0, 0, 16, 32, 0, height, 0, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24319, 0, 0, 16, 32, 2, height, 16, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25185, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24319, 0, 0, 16, 32, 2, height, 16, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -7996,29 +7997,29 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up(paint_session case 6: switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24305, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25171, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24344, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25210, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24305, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25171, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24344, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24310, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25176, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24346, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25212, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24310, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25176, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24346, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24315, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25181, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24351, 0, 0, 27, 32, 0, height, 2, 0, height + 67); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25217, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24315, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25181, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24351, 0, 0, 27, 32, 0, height, 2, 0, height + 67); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24320, 0, 0, 27, 32, 2, height, 2, 0, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25186, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24320, 0, 0, 27, 32, 2, height, 2, 0, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8055,23 +8056,23 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up(paint_session * s { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24261, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25127, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24261, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24262, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25128, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24262, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24263, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25129, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24263, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24264, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25130, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24264, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8089,23 +8090,23 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up(paint_session * { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24265, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25131, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24265, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24266, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25132, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24266, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24267, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25133, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24267, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24268, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25134, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24268, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8123,23 +8124,23 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up(paint_session * s { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24269, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25135, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24269, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24270, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25136, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24270, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24271, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25137, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24271, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24272, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25138, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24272, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8157,23 +8158,23 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up(paint_session * { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24273, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25139, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24273, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24274, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25140, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24274, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24275, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25141, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24275, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24276, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25142, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24276, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8215,27 +8216,27 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up(paint_sess { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24277, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25143, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24277, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24278, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25144, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24293, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25159, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24278, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25144, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24293, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24279, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25145, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24294, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25160, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24279, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25145, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24294, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24280, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25146, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24280, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8253,27 +8254,27 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up(paint_se { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24281, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25147, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24281, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24282, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25148, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24295, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25161, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24282, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25148, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24295, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24283, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25149, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24296, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25162, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24283, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25149, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24296, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24284, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25150, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24284, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8291,27 +8292,27 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat(paint_sess { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24285, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25151, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24285, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24286, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25152, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24297, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25163, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24286, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25152, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24297, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24287, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25153, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24298, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25164, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24287, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25153, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24298, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24288, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25154, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24288, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8329,27 +8330,27 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat(paint_se { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24289, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25155, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24289, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24290, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25156, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24299, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25165, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24290, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25156, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24299, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24291, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25157, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24300, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25166, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24291, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25157, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24300, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24292, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25158, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24292, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8391,27 +8392,27 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up(paint_session * sessio { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24225, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25091, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24225, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24226, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25092, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24241, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25107, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24226, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25092, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24241, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24227, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25093, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24242, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25108, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24227, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25093, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24242, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24228, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25094, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24228, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8429,27 +8430,27 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up(paint_session * sessi { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24229, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25095, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24229, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24230, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25096, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24243, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25109, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24230, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25096, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24243, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24231, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25097, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24244, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25110, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24231, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25097, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24244, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24232, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25098, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24232, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8467,27 +8468,27 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat(paint_session * sessio { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24233, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25099, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24233, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24234, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25100, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24245, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25111, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24234, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25100, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24245, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24235, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25101, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24246, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25112, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24235, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25101, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24246, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24236, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25102, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24236, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; } @@ -8505,27 +8506,27 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat(paint_session * sessi { switch (direction) { case 0: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24237, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25103, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24237, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 1: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24238, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25104, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24247, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25113, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24238, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25104, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24247, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 2: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24239, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25105, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24248, 0, 0, 32, 1, 9, height, 0, 26, height + 5); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25114, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24239, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(direction, wooden_rc_get_rails_colour(session) | 25105, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24248, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; case 3: - sub_98197C_rotated(direction, wooden_rc_get_track_colour() | 24240, 0, 0, 32, 25, 2, height, 0, 3, height); - sub_98199C_rotated(direction, wooden_rc_get_rails_colour() | 25106, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98197C_rotated(direction, wooden_rc_get_track_colour(session) | 24240, 0, 0, 32, 25, 2, height, 0, 3, height); + sub_98199C_rotated(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, gTrackColours[SCHEME_SUPPORTS], NULL); break; }