forked from rosebudai/OpenRCT2-Web
Name further functions
This commit is contained in:
1 parent
d6669be939
commit
533a845b0f
39 files changed
+15797
-15797
No files matched your search
@@ -244,11 +244,11 @@ paint_struct* PaintAddImageAsChild(
|
||||
paint_struct* sub_98196C_rotated(
|
||||
paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x,
|
||||
int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset);
|
||||
paint_struct* sub_98197C_rotated(
|
||||
paint_struct* PaintAddImageAsParentRotated(
|
||||
paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x,
|
||||
int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x,
|
||||
int16_t bound_box_offset_y, int16_t bound_box_offset_z);
|
||||
paint_struct* sub_98199C_rotated(
|
||||
paint_struct* PaintAddImageAsChildRotated(
|
||||
paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x,
|
||||
int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x,
|
||||
int16_t bound_box_offset_y, int16_t bound_box_offset_z);
|
||||
|
||||
@@ -27,7 +27,7 @@ paint_struct* sub_98196C_rotated(
|
||||
}
|
||||
}
|
||||
|
||||
paint_struct* sub_98197C_rotated(
|
||||
paint_struct* PaintAddImageAsParentRotated(
|
||||
paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x,
|
||||
int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x,
|
||||
int16_t bound_box_offset_y, int16_t bound_box_offset_z)
|
||||
@@ -46,7 +46,7 @@ paint_struct* sub_98197C_rotated(
|
||||
}
|
||||
}
|
||||
|
||||
paint_struct* sub_98199C_rotated(
|
||||
paint_struct* PaintAddImageAsChildRotated(
|
||||
paint_session* session, uint8_t direction, uint32_t image_id, int8_t x_offset, int8_t y_offset, int16_t bound_box_length_x,
|
||||
int16_t bound_box_length_y, int8_t bound_box_length_z, int16_t z_offset, int16_t bound_box_offset_x,
|
||||
int16_t bound_box_offset_y, int16_t bound_box_offset_z)
|
||||
|
||||
@@ -142,7 +142,7 @@ void misc_paint(paint_session* session, const SpriteBase* misc, int32_t imageDir
|
||||
|
||||
auto bb = isAntiClockwise ? antiClockWiseBoundingBoxes : clockWiseBoundingBoxes;
|
||||
|
||||
sub_98197C_rotated(session, ebx, imageId, 0, 0, 32, 1, 3, height, bb[ebx & 1].x, bb[ebx & 1].y, height);
|
||||
PaintAddImageAsParentRotated(session, ebx, imageId, 0, 0, 32, 1, 3, height, bb[ebx & 1].x, bb[ebx & 1].y, height);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ static void air_powered_vertical_rc_track_flat(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height);
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
|
||||
@@ -210,10 +210,10 @@ static void air_powered_vertical_rc_track_station(
|
||||
{ SPR_AIR_POWERED_VERTICAL_RC_STATION_NW_SE, SPR_STATION_BASE_B_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height - 2, 0, 2,
|
||||
height);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6,
|
||||
height);
|
||||
|
||||
@@ -334,12 +334,12 @@ static void air_powered_vertical_rc_track_flat_to_left_bank(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -363,12 +363,12 @@ static void air_powered_vertical_rc_track_flat_to_right_bank(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -517,11 +517,11 @@ static void air_powered_vertical_rc_track_left_bank(
|
||||
uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -551,7 +551,7 @@ static void air_powered_vertical_rc_track_brakes(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height);
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
|
||||
@@ -662,8 +662,8 @@ static void air_powered_vertical_rc_track_vertical_slope_up(
|
||||
{
|
||||
case 0:
|
||||
bbHeight = bbHeights12[trackSequence];
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height);
|
||||
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
|
||||
@@ -679,14 +679,14 @@ static void air_powered_vertical_rc_track_vertical_slope_up(
|
||||
{
|
||||
bbHeight = bbHeights03[trackSequence];
|
||||
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
bbHeight = bbHeights12[trackSequence];
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -703,14 +703,14 @@ static void air_powered_vertical_rc_track_vertical_slope_up(
|
||||
if (isDirection03)
|
||||
{
|
||||
bbHeight = bbHeights03[trackSequence];
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
bbHeight = bbHeights12[trackSequence];
|
||||
sub_98197C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -731,11 +731,11 @@ static void air_powered_vertical_rc_track_vertical_slope_up(
|
||||
floorImageId = SPR_FLOOR_PLANKS | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
PaintAddImageAsParent(session, floorImageId, 0, 0, 26, 26, 126, height, 3, 3, height);
|
||||
sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height);
|
||||
PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height);
|
||||
}
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
paint_util_set_general_support_height(session, height + supportHeights[trackSequence], 0x20);
|
||||
@@ -743,13 +743,13 @@ static void air_powered_vertical_rc_track_vertical_slope_up(
|
||||
case 6:
|
||||
if (isDirection03)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
}
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
|
||||
@@ -777,17 +777,17 @@ static void air_powered_vertical_rc_track_vertical_up(
|
||||
{
|
||||
case 0:
|
||||
imageId = imageIds[direction][0] | air_powered_vertical_rc_get_support_colour(session);
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 26, 26, 79, height, 3, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 26, 26, 79, height, 3, 3, height);
|
||||
break;
|
||||
case 1:
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 30, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 2, 20, 79, height, 30, 6, height);
|
||||
}
|
||||
|
||||
paint_util_set_vertical_tunnel(session, height + 80);
|
||||
@@ -828,24 +828,24 @@ static void air_powered_vertical_rc_track_vertical_top(
|
||||
imageIdT = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, imageIdT, 0, 0, 31, 20, 15, height, 1, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 31, 20, 15, height, 1, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
sub_98199C_rotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
imageIdT = imageIds[direction][2] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(session, height + 80);
|
||||
break;
|
||||
@@ -853,11 +853,11 @@ static void air_powered_vertical_rc_track_vertical_top(
|
||||
imageIdT = imageIds[direction][3] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 1, height, 33, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdT, 0, 0, 2, 20, 15, height, 0, 6, height);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(session, height + 80);
|
||||
break;
|
||||
@@ -866,13 +866,13 @@ static void air_powered_vertical_rc_track_vertical_top(
|
||||
imageIdT = imageIds[direction][5] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
sub_98199C_rotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, imageIdT, 0, 0, 32, 20, 15, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdS, 0, 0, 32, 20, 15, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 32, 20, 15, height, 0, 6, height);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -29,22 +29,22 @@ static void inverted_hairpin_rc_track_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17030, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17031, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17032, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17033, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
@@ -56,13 +56,13 @@ static void inverted_hairpin_rc_track_flat(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17026, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17027, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
@@ -93,12 +93,12 @@ static void inverted_hairpin_rc_track_station(
|
||||
{ SPR_STATION_BASE_C_NW_SE, 17029, SPR_STATION_INVERTED_BAR_0_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 24);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11);
|
||||
@@ -118,22 +118,22 @@ static void inverted_hairpin_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17070, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17071, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17072, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17073, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
@@ -144,22 +144,22 @@ static void inverted_hairpin_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17042, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17043, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17044, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17045, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
@@ -212,22 +212,22 @@ static void inverted_hairpin_rc_track_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17086, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 88);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17087, 0, 0, 32, 2, 81, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17088, 0, 0, 32, 2, 81, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17089, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 88);
|
||||
break;
|
||||
@@ -238,22 +238,22 @@ static void inverted_hairpin_rc_track_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17058, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 88);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17059, 0, 0, 32, 2, 81, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17060, 0, 0, 32, 2, 81, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17061, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 88);
|
||||
break;
|
||||
@@ -282,22 +282,22 @@ static void inverted_hairpin_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17062, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17063, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17064, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17065, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -308,22 +308,22 @@ static void inverted_hairpin_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17034, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17035, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17036, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17037, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -376,28 +376,28 @@ static void inverted_hairpin_rc_track_25_deg_up_to_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17074, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17078, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17075, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17079, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17076, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17077, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
@@ -408,28 +408,28 @@ static void inverted_hairpin_rc_track_25_deg_up_to_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17046, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17050, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17047, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17051, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17048, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17049, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
@@ -458,28 +458,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17080, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17084, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17081, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17085, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17082, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17083, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
@@ -490,28 +490,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17052, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17056, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17053, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17057, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17054, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17055, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
@@ -564,22 +564,22 @@ static void inverted_hairpin_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17066, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17067, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17068, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17069, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -590,22 +590,22 @@ static void inverted_hairpin_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17038, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17039, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17040, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17041, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -709,22 +709,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17123, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17126, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17129, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17120, 0, 0, 32, 20, 3, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
@@ -749,22 +749,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17122, 0, 0, 16, 16, 3, height + 24, 16, 0,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17125, 0, 0, 16, 16, 3, height + 24, 0, 0,
|
||||
height + 22);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17128, 0, 0, 16, 16, 3, height + 24, 0, 16,
|
||||
height + 22);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17119, 0, 0, 16, 16, 3, height + 24, 16, 16,
|
||||
height + 22);
|
||||
break;
|
||||
@@ -777,22 +777,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17121, 0, 0, 20, 32, 3, height + 24, 6, 0,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17124, 0, 0, 20, 32, 3, height + 24, 6, 0,
|
||||
height + 22);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17127, 0, 0, 20, 32, 3, height + 24, 6, 0,
|
||||
height + 22);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17118, 0, 0, 20, 32, 3, height + 24, 6, 0,
|
||||
height + 22);
|
||||
break;
|
||||
@@ -1029,22 +1029,22 @@ static void inverted_hairpin_rc_track_left_quarter_turn_1(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17114, 0, 0, 26, 24, 3, height + 24, 6, 2,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17115, 0, 0, 26, 26, 3, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17116, 0, 0, 24, 26, 3, height + 24, 2, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17117, 0, 0, 24, 24, 3, height + 24, 6, 6,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1089,28 +1089,28 @@ static void inverted_hairpin_rc_track_flat_to_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17102, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17106, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17103, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17107, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17104, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17105, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
@@ -1121,28 +1121,28 @@ static void inverted_hairpin_rc_track_flat_to_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17090, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17094, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17091, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17095, 0, 0, 32, 10, 49, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17092, 0, 0, 32, 2, 49, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17093, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 56);
|
||||
break;
|
||||
@@ -1171,28 +1171,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17108, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17112, 0, 0, 32, 10, 41, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17109, 0, 0, 32, 2, 41, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17113, 0, 0, 32, 10, 41, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17110, 0, 0, 32, 2, 41, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17111, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
@@ -1203,28 +1203,28 @@ static void inverted_hairpin_rc_track_60_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17096, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17100, 0, 0, 32, 10, 41, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17097, 0, 0, 32, 2, 41, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17101, 0, 0, 32, 10, 41, height + 24, 0, 10,
|
||||
height + 6);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17098, 0, 0, 32, 2, 41, height + 24, 0, 4,
|
||||
height + 6);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17099, 0, 0, 30, 20, 3, height + 24, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
@@ -1289,13 +1289,13 @@ static void inverted_hairpin_rc_track_brakes(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17028, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17029, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
@@ -1322,13 +1322,13 @@ static void inverted_hairpin_rc_track_block_brakes(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17028, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 17029, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 22);
|
||||
break;
|
||||
|
||||
@@ -28,13 +28,13 @@ static void inverted_impulse_rc_track_flat(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19662, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 29);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19663, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 29);
|
||||
break;
|
||||
@@ -64,12 +64,12 @@ static void inverted_impulse_rc_track_station(
|
||||
{ SPR_STATION_BASE_C_NW_SE, 19663, SPR_STATION_INVERTED_BAR_B_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 29);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 29);
|
||||
track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 11);
|
||||
@@ -87,22 +87,22 @@ static void inverted_impulse_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19672, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 45);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19673, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 45);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19674, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 45);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19675, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 45);
|
||||
break;
|
||||
@@ -152,22 +152,22 @@ static void inverted_impulse_rc_track_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19688, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 93);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19689, 0, 0, 32, 2, 81, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19690, 0, 0, 32, 2, 81, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19691, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 93);
|
||||
break;
|
||||
@@ -193,22 +193,22 @@ static void inverted_impulse_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19664, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19665, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19666, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19667, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
@@ -255,28 +255,28 @@ static void inverted_impulse_rc_track_25_deg_up_to_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19676, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 61);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19680, 0, 0, 32, 10, 49, height + 29, 0, 10,
|
||||
height + 11);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19677, 0, 0, 32, 2, 49, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19681, 0, 0, 32, 10, 49, height + 29, 0, 10,
|
||||
height + 11);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19678, 0, 0, 32, 2, 49, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19679, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 61);
|
||||
break;
|
||||
@@ -302,28 +302,28 @@ static void inverted_impulse_rc_track_60_deg_up_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19682, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 61);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19686, 0, 0, 32, 10, 49, height + 29, 0, 10,
|
||||
height + 11);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19683, 0, 0, 32, 2, 49, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19687, 0, 0, 32, 10, 49, height + 29, 0, 10,
|
||||
height + 11);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19684, 0, 0, 32, 2, 49, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19685, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 61);
|
||||
break;
|
||||
@@ -349,22 +349,22 @@ static void inverted_impulse_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19668, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19669, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19670, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19671, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 37);
|
||||
break;
|
||||
@@ -464,22 +464,22 @@ static void inverted_impulse_rc_track_90_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19700, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 61);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19701, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19702, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19703, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 61);
|
||||
break;
|
||||
@@ -513,22 +513,22 @@ static void inverted_impulse_rc_track_60_deg_up_to_90_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19692, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 85);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19693, 0, 0, 32, 2, 55, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19694, 0, 0, 32, 2, 55, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19695, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 85);
|
||||
break;
|
||||
@@ -564,22 +564,22 @@ static void inverted_impulse_rc_track_90_deg_up_to_60_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19696, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 85);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19697, 0, 0, 32, 2, 55, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19698, 0, 0, 32, 2, 55, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19699, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 85);
|
||||
break;
|
||||
@@ -609,22 +609,22 @@ static void inverted_impulse_rc_track_60_deg_down_to_90_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19698, 0, 0, 32, 2, 55, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19699, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 85);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19696, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 85);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19697, 0, 0, 32, 2, 55, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
@@ -653,31 +653,31 @@ static void inverted_impulse_rc_track_left_quarter_turn_1_90_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19708, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19709, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19717, 0, 0, 2, 32, 31, height + 29, 4, 0,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19710, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19718, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19711, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19719, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
@@ -703,31 +703,31 @@ static void inverted_impulse_rc_track_right_quarter_turn_1_90_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19704, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19712, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19705, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19713, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19706, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19714, 0, 0, 32, 2, 31, height + 29, 0, 4,
|
||||
height + 11);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 19707, 0, 0, 32, 20, 3, height + 29, 0, 6,
|
||||
height + 125);
|
||||
break;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -5684,7 +5684,7 @@ static void junior_rc_track_on_ride_photo(
|
||||
session, METAL_SUPPORTS_FORK, 5, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_FORK, 8, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
break;
|
||||
case 1:
|
||||
sub_98196C_rotated(
|
||||
@@ -5693,7 +5693,7 @@ static void junior_rc_track_on_ride_photo(
|
||||
session, METAL_SUPPORTS_FORK_ALT, 6, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_FORK_ALT, 7, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
break;
|
||||
case 2:
|
||||
sub_98196C_rotated(
|
||||
@@ -5702,7 +5702,7 @@ static void junior_rc_track_on_ride_photo(
|
||||
session, METAL_SUPPORTS_FORK, 5, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_FORK, 8, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
break;
|
||||
case 3:
|
||||
sub_98196C_rotated(
|
||||
@@ -5711,7 +5711,7 @@ static void junior_rc_track_on_ride_photo(
|
||||
session, METAL_SUPPORTS_FORK_ALT, 6, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_FORK_ALT, 7, 6, height + photoCameraOffset, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 1, height, 0, 6, height + 3);
|
||||
break;
|
||||
}
|
||||
track_paint_util_onride_photo_paint(session, direction, height + 3 + photoCameraOffset, tileElement);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -92,11 +92,11 @@ static void mini_suspended_rc_track_station(
|
||||
{ SPR_STATION_BASE_C_NW_SE, 28434, SPR_STATION_INVERTED_BAR_E_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height);
|
||||
sub_98196C_rotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height + 24);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 2,
|
||||
height);
|
||||
track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3);
|
||||
@@ -116,22 +116,22 @@ static void mini_suspended_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28435, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28441, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28437, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28442, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
@@ -142,22 +142,22 @@ static void mini_suspended_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28385, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28391, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28387, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28392, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
@@ -210,22 +210,22 @@ static void mini_suspended_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28436, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28443, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28438, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28444, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -236,22 +236,22 @@ static void mini_suspended_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28386, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28393, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28388, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28394, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -304,22 +304,22 @@ static void mini_suspended_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28440, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28446, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28439, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28445, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -330,22 +330,22 @@ static void mini_suspended_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28390, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28396, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28389, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28395, 0, 6, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1120,22 +1120,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28475, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28479, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28483, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28487, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1167,22 +1167,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28476, 0, 0, 32, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28480, 0, 0, 34, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28484, 0, 0, 32, 16, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28488, 0, 0, 32, 16, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1198,22 +1198,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28477, 0, 0, 16, 16, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28481, 0, 0, 16, 16, 1, height + 24, 16, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28485, 0, 0, 16, 16, 1, height + 24, 16, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28489, 0, 0, 16, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1232,22 +1232,22 @@ static void mini_suspended_rc_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28478, 0, 0, 16, 16, 1, height + 24, 16, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28482, 0, 0, 16, 18, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28486, 0, 0, 16, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28490, 0, 0, 16, 16, 1, height + 24, 16, 0,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1294,22 +1294,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28459, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28463, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28467, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28471, 0, 0, 32, 20, 1, height + 24, 0, 6,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1341,22 +1341,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28460, 0, 0, 32, 16, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28464, 0, 0, 32, 16, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28468, 0, 0, 34, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28472, 0, 0, 32, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1372,22 +1372,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28461, 0, 0, 16, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28465, 0, 0, 16, 16, 1, height + 24, 16, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28469, 0, 0, 28, 28, 1, height + 24, 4, 2,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28473, 0, 0, 16, 16, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1406,22 +1406,22 @@ static void mini_suspended_rc_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28462, 0, 0, 16, 16, 1, height + 24, 16, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28466, 0, 0, 16, 16, 1, height + 24, 0, 0,
|
||||
height + 24);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28470, 0, 0, 16, 18, 1, height + 24, 0, 16,
|
||||
height + 24);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28474, 0, 0, 16, 16, 1, height + 24, 16, 16,
|
||||
height + 24);
|
||||
break;
|
||||
@@ -1488,7 +1488,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28510, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1499,7 +1499,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28494, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1515,7 +1515,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28507, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1526,7 +1526,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28491, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1542,7 +1542,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28509, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1553,7 +1553,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28493, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1569,7 +1569,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28508, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1580,7 +1580,7 @@ static void mini_suspended_rc_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28492, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 24);
|
||||
break;
|
||||
@@ -1627,7 +1627,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28522, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1638,7 +1638,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28506, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1654,7 +1654,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28519, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1665,7 +1665,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28503, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1681,7 +1681,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28521, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1692,7 +1692,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28505, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1708,7 +1708,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28520, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1719,7 +1719,7 @@ static void mini_suspended_rc_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28504, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -1766,7 +1766,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28514, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1777,7 +1777,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28498, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1793,7 +1793,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28511, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1804,7 +1804,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28495, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1820,7 +1820,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28513, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1831,7 +1831,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28497, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1847,7 +1847,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28512, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1858,7 +1858,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28496, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1905,7 +1905,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28518, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1916,7 +1916,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28502, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1932,7 +1932,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28515, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1943,7 +1943,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28499, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1959,7 +1959,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28517, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1970,7 +1970,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28501, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1986,7 +1986,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28516, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -1997,7 +1997,7 @@ static void mini_suspended_rc_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28500, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2044,7 +2044,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28520, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2055,7 +2055,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28504, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2071,7 +2071,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28521, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2082,7 +2082,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28505, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2098,7 +2098,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28519, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2109,7 +2109,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28503, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2125,7 +2125,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28522, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2136,7 +2136,7 @@ static void mini_suspended_rc_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28506, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 40);
|
||||
break;
|
||||
@@ -2183,7 +2183,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28516, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2194,7 +2194,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28500, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2209,7 +2209,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28517, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2220,7 +2220,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28501, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2235,7 +2235,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28515, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2246,7 +2246,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28499, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2261,7 +2261,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28518, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2272,7 +2272,7 @@ static void mini_suspended_rc_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28502, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2319,7 +2319,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28512, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2330,7 +2330,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28496, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2346,7 +2346,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28513, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2357,7 +2357,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28497, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2373,7 +2373,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28511, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2384,7 +2384,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28495, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2400,7 +2400,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28514, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
@@ -2411,7 +2411,7 @@ static void mini_suspended_rc_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28498, -16, -16, 32, 32, 1, height + 24,
|
||||
-16, -16, height + 32);
|
||||
break;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -285,8 +285,8 @@ static void paint_reverse_freefall_rc_slope(
|
||||
if (isDirection03)
|
||||
{
|
||||
bbHeight = bbHeights03[trackSequence];
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
|
||||
int32_t tunnelOffset = tunnelOffsets03[trackSequence];
|
||||
if (direction & 1)
|
||||
@@ -301,8 +301,8 @@ static void paint_reverse_freefall_rc_slope(
|
||||
else
|
||||
{
|
||||
bbHeight = bbHeights12[trackSequence];
|
||||
sub_98197C_rotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -323,13 +323,13 @@ static void paint_reverse_freefall_rc_slope(
|
||||
floorImageId = SPR_FLOOR_PLANKS | session->TrackColours[SCHEME_SUPPORTS];
|
||||
}
|
||||
PaintAddImageAsParent(session, floorImageId, 0, 0, 26, 26, 126, height, 3, 3, height);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, supportsImageId, 0, 0, isDirection03 ? 26 : 18, 26, 126, height, isDirection03 ? 3 : 11,
|
||||
3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, supportsImageId, 0, 0, isDirection03 ? 26 : 18, 26, 126, height, isDirection03 ? 3 : 11,
|
||||
3, height);
|
||||
}
|
||||
@@ -339,13 +339,13 @@ static void paint_reverse_freefall_rc_slope(
|
||||
case 6:
|
||||
if (isDirection03)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
sub_98199C_rotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
PaintAddImageAsParentRotated(session, direction, supportsImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
sub_98199C_rotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height);
|
||||
}
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
@@ -372,11 +372,11 @@ static void paint_reverse_freefall_rc_vertical(
|
||||
trackImageId = reverse_freefall_rc_track_pieces_vertical[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 30, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, trackImageId, 0, 0, 2, 20, 79, height, 30, 6, height);
|
||||
}
|
||||
paint_util_set_vertical_tunnel(session, height + 80);
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
|
||||
@@ -55,13 +55,13 @@ static void reverser_rc_track_flat(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21520, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21521, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -73,13 +73,13 @@ static void reverser_rc_track_flat(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21504, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21505, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -101,9 +101,9 @@ static void reverser_rc_track_station(
|
||||
{ 21507, SPR_STATION_BASE_A_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 27, 2, height, 0, 2,
|
||||
height);
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -123,22 +123,22 @@ static void reverser_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21530, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21531, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21532, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21533, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -149,22 +149,22 @@ static void reverser_rc_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21516, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 9, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21517, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 10, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21518, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 11, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21519, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 12, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -192,22 +192,22 @@ static void reverser_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21522, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21523, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21524, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21525, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -218,22 +218,22 @@ static void reverser_rc_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21508, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 1, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21509, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 2, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21510, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 3, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21511, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -261,22 +261,22 @@ static void reverser_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21526, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21527, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21528, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21529, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -287,22 +287,22 @@ static void reverser_rc_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21512, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 5, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21513, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21514, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 7, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21515, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 8, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -545,22 +545,22 @@ static void reverser_rc_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21566, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21570, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21569, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21573, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -576,22 +576,22 @@ static void reverser_rc_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21567, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21571, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21568, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21572, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -607,22 +607,22 @@ static void reverser_rc_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21568, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21572, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21567, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21571, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -638,22 +638,22 @@ static void reverser_rc_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21569, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21573, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21566, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21570, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -684,22 +684,22 @@ static void reverser_rc_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21574, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21578, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21577, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21581, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -715,22 +715,22 @@ static void reverser_rc_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21575, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21579, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21576, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21580, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -746,22 +746,22 @@ static void reverser_rc_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21576, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21580, 0, 0, 32, 26, 2, height, 0, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21575, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21579, 0, 0, 32, 26, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -777,22 +777,22 @@ static void reverser_rc_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21577, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21581, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21574, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21578, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -823,22 +823,22 @@ static void reverser_rc_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21559, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21562, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21565, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21556, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -857,21 +857,21 @@ static void reverser_rc_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21558, 0, 0, 16, 16, 2, height, 16, 0,
|
||||
height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21561, 0, 0, 16, 16, 2, height, 0, 0, height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21564, 0, 0, 16, 16, 2, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21555, 0, 0, 16, 16, 2, height, 16, 16,
|
||||
height);
|
||||
break;
|
||||
@@ -884,22 +884,22 @@ static void reverser_rc_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21557, 0, 0, 20, 32, 2, height, 6, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 5, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21560, 0, 0, 20, 32, 2, height, 6, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21563, 0, 0, 20, 32, 2, height, 6, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21554, 0, 0, 20, 32, 2, height, 6, 0, height);
|
||||
wooden_a_supports_paint_setup(session, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -937,13 +937,13 @@ static void reverser_rc_track_brakes(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21506, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21507, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -964,22 +964,22 @@ static void reverser_rc_track_left_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21582, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21588, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21594, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21600, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -995,22 +995,22 @@ static void reverser_rc_track_left_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21585, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21591, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21597, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21603, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1022,22 +1022,22 @@ static void reverser_rc_track_left_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21586, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21592, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21598, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21604, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1049,22 +1049,22 @@ static void reverser_rc_track_left_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21587, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21593, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21599, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21605, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1076,22 +1076,22 @@ static void reverser_rc_track_left_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21583, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21589, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21595, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21601, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1103,22 +1103,22 @@ static void reverser_rc_track_left_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21584, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21590, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21596, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21602, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1149,22 +1149,22 @@ static void reverser_rc_track_right_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21596, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21602, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21584, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21590, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1180,22 +1180,22 @@ static void reverser_rc_track_right_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21599, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21605, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21587, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21593, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1207,22 +1207,22 @@ static void reverser_rc_track_right_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21598, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21604, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21586, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21592, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1234,22 +1234,22 @@ static void reverser_rc_track_right_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21597, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21603, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21585, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21591, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1261,22 +1261,22 @@ static void reverser_rc_track_right_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21595, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21601, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21583, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21589, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
@@ -1288,22 +1288,22 @@ static void reverser_rc_track_right_reverser(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21594, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21600, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21582, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 21588, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
wooden_a_supports_paint_setup(session, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
break;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -77,10 +77,10 @@ static void steeplechase_track_station(
|
||||
{ 28636, SPR_STATION_BASE_B_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 3, height - 2, 0, 2,
|
||||
height);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 3, height, 0, 0,
|
||||
height);
|
||||
track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3);
|
||||
@@ -961,25 +961,25 @@ static void steeplechase_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28725, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28729, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28733, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28737, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -997,20 +997,20 @@ static void steeplechase_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28726, 0, 0, 32, 16, 3, height, 0, 0, height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28730, 0, 0, 34, 16, 3, height, 0, 0, height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28734, 0, 0, 32, 16, 3, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28738, 0, 0, 32, 16, 3, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
@@ -1026,22 +1026,22 @@ static void steeplechase_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28727, 0, 0, 16, 16, 3, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28731, 0, 0, 16, 16, 3, height, 16, 16,
|
||||
height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28735, 0, 0, 16, 16, 3, height, 16, 0,
|
||||
height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28739, 0, 0, 16, 16, 3, height, 0, 0, height);
|
||||
break;
|
||||
}
|
||||
@@ -1059,27 +1059,27 @@ static void steeplechase_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28728, 0, 0, 16, 16, 3, height, 16, 16,
|
||||
height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 3, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28732, 0, 0, 16, 18, 3, height, 0, 16,
|
||||
height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK_ALT, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28736, 0, 0, 16, 16, 3, height, 0, 0, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28740, 0, 0, 16, 16, 3, height, 16, 0,
|
||||
height);
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1107,25 +1107,25 @@ static void steeplechase_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28709, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28713, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28717, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28721, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK_ALT, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -1143,21 +1143,21 @@ static void steeplechase_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28710, 0, 0, 32, 16, 3, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28714, 0, 0, 32, 16, 3, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28718, 0, 0, 34, 16, 3, height, 0, 0, height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28722, 0, 0, 32, 16, 3, height, 0, 0, height);
|
||||
break;
|
||||
}
|
||||
@@ -1172,20 +1172,20 @@ static void steeplechase_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28711, 0, 0, 16, 16, 3, height, 0, 0, height);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28715, 0, 0, 16, 16, 3, height, 16, 0,
|
||||
height);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28719, 0, 0, 28, 28, 3, height, 4, 4, height);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28723, 0, 0, 16, 16, 3, height, 0, 16,
|
||||
height);
|
||||
break;
|
||||
@@ -1204,27 +1204,27 @@ static void steeplechase_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28712, 0, 0, 16, 16, 3, height, 16, 0,
|
||||
height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28716, 0, 0, 16, 16, 3, height, 0, 0, height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK_ALT, 0, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28720, 0, 0, 16, 18, 3, height, 0, 16,
|
||||
height);
|
||||
metal_a_supports_paint_setup(
|
||||
session, METAL_SUPPORTS_STICK, 2, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28724, 0, 0, 16, 16, 3, height, 16, 16,
|
||||
height);
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1272,7 +1272,7 @@ static void steeplechase_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28760, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1283,7 +1283,7 @@ static void steeplechase_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28744, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1299,7 +1299,7 @@ static void steeplechase_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28757, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1310,7 +1310,7 @@ static void steeplechase_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28741, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1326,7 +1326,7 @@ static void steeplechase_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28759, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1337,7 +1337,7 @@ static void steeplechase_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28743, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1357,7 +1357,7 @@ static void steeplechase_track_diag_flat(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28758, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1382,7 +1382,7 @@ static void steeplechase_track_diag_flat(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28742, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1418,7 +1418,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28772, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1429,7 +1429,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28756, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1445,7 +1445,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28769, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1456,7 +1456,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28753, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1472,7 +1472,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28771, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1483,7 +1483,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28755, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1503,7 +1503,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28770, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1528,7 +1528,7 @@ static void steeplechase_track_diag_25_deg_up(
|
||||
session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28754, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1564,7 +1564,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28764, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1575,7 +1575,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28748, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1591,7 +1591,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28761, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1602,7 +1602,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28745, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1618,7 +1618,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28763, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1629,7 +1629,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28747, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1649,7 +1649,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28762, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1674,7 +1674,7 @@ static void steeplechase_track_diag_flat_to_25_deg_up(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28746, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1710,7 +1710,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28768, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1721,7 +1721,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28752, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1737,7 +1737,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28765, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1748,7 +1748,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28749, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1764,7 +1764,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28767, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1775,7 +1775,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28751, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1795,7 +1795,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28766, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1820,7 +1820,7 @@ static void steeplechase_track_diag_25_deg_up_to_flat(
|
||||
session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28750, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1856,7 +1856,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28770, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1867,7 +1867,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28754, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1883,7 +1883,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28771, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1894,7 +1894,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28755, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1910,7 +1910,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28769, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1921,7 +1921,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28753, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -1941,7 +1941,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28772, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -1966,7 +1966,7 @@ static void steeplechase_track_diag_25_deg_down(
|
||||
session, METAL_SUPPORTS_STICK, 1, 6, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28756, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -2002,7 +2002,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28766, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2013,7 +2013,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28750, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2028,7 +2028,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28767, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2039,7 +2039,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28751, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2054,7 +2054,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28765, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2065,7 +2065,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28749, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2084,7 +2084,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28768, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -2109,7 +2109,7 @@ static void steeplechase_track_diag_flat_to_25_deg_down(
|
||||
session, METAL_SUPPORTS_STICK, 1, 4, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28752, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -2146,7 +2146,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28762, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2157,7 +2157,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28746, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2173,7 +2173,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28763, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2184,7 +2184,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28747, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2200,7 +2200,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28761, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2211,7 +2211,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28745, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
break;
|
||||
@@ -2231,7 +2231,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28764, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
@@ -2256,7 +2256,7 @@ static void steeplechase_track_diag_25_deg_down_to_flat(
|
||||
session, METAL_SUPPORTS_STICK, 1, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 28748, -16, -16, 32, 32, 3, height, -16,
|
||||
-16, height);
|
||||
metal_b_supports_paint_setup(
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -176,7 +176,7 @@ static void wild_mouse_track_flat(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -1, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -199,18 +199,18 @@ static void wild_mouse_track_station(
|
||||
};
|
||||
|
||||
int32_t trackType = tileElement->AsTrack()->GetTrackType();
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, baseImageIds[direction] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 2, height - 2, 0, 2,
|
||||
height);
|
||||
if (trackType == TrackElemType::EndStation)
|
||||
{
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, _wild_mouse_block_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK], 0, 0, 32,
|
||||
20, 2, height, 0, 0, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, _wild_mouse_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 2,
|
||||
height, 0, 0, height);
|
||||
}
|
||||
@@ -235,7 +235,7 @@ static void wild_mouse_track_25_deg_up(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -9, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -269,11 +269,11 @@ static void wild_mouse_track_60_deg_up(
|
||||
uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
}
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -313,7 +313,7 @@ static void wild_mouse_track_flat_to_25_deg_up(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -4, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -354,12 +354,12 @@ static void wild_mouse_track_25_deg_up_to_60_deg_up(
|
||||
uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
}
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -401,12 +401,12 @@ static void wild_mouse_track_60_deg_up_to_25_deg_up(
|
||||
uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
}
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -439,7 +439,7 @@ static void wild_mouse_track_25_deg_up_to_flat(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, -7, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -783,12 +783,12 @@ static void wild_mouse_track_flat_to_60_deg_up(
|
||||
uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height);
|
||||
}
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -830,12 +830,12 @@ static void wild_mouse_track_60_deg_up_to_flat(
|
||||
uint32_t frontImageId = frontImageIds[direction][isChained] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 1, 24, 43, height, 29, 4, height + 2);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 2, 43, height, 0, 4, height);
|
||||
}
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -883,7 +883,7 @@ static void wild_mouse_track_brakes(
|
||||
const TileElement* tileElement)
|
||||
{
|
||||
uint32_t imageId = _wild_mouse_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -907,7 +907,7 @@ static void wild_mouse_track_rotation_control_toggle(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
@@ -924,7 +924,7 @@ static void wild_mouse_track_block_brakes(
|
||||
const TileElement* tileElement)
|
||||
{
|
||||
uint32_t imageId = _wild_mouse_block_brakes_image_ids[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -157,10 +157,10 @@ static void wooden_wild_mouse_track_station(
|
||||
{ SPR_WOODEN_WILD_MOUSE_FLAT_NW_SE, SPR_STATION_BASE_B_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height - 2, 0, 2,
|
||||
height);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height, 0, 0,
|
||||
height);
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -192,7 +192,7 @@ static void wooden_wild_mouse_track_25_deg_up(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, direction & 1, 9 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -234,11 +234,11 @@ static void wooden_wild_mouse_track_60_deg_up(
|
||||
uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK];
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
session->WoodenSupportsPrependTo = sub_98197C_rotated(
|
||||
session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(
|
||||
session, direction, imageId, 0, 6, 2, 24, 93, height, 28, 4, height - 16);
|
||||
}
|
||||
|
||||
@@ -280,7 +280,7 @@ static void wooden_wild_mouse_track_flat_to_25_deg_up(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, direction & 1, 1 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -323,15 +323,15 @@ static void wooden_wild_mouse_track_25_deg_up_to_60_deg_up(
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
session->WoodenSupportsPrependTo = sub_98197C_rotated(
|
||||
session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(
|
||||
session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2);
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
@@ -374,15 +374,15 @@ static void wooden_wild_mouse_track_60_deg_to_25_deg_up(
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
session->WoodenSupportsPrependTo = sub_98197C_rotated(
|
||||
session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(
|
||||
session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2);
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
@@ -423,7 +423,7 @@ static void wooden_wild_mouse_track_25_deg_up_to_flat(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, direction & 1, 5 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -622,14 +622,14 @@ static void wooden_wild_mouse_track_flat_to_60_deg_up(
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2);
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
@@ -673,14 +673,14 @@ static void wooden_wild_mouse_track_60_deg_up_to_flat(
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 1, height, 0, 3, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 2, 24, 43, height, 28, 4, height + 2);
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 2, 43, height, 0, 4, height);
|
||||
}
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
|
||||
@@ -134,7 +134,7 @@ static void paint_ghost_train_track_flat(
|
||||
{
|
||||
uint32_t imageId = ghost_train_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_0);
|
||||
|
||||
@@ -154,10 +154,10 @@ static void paint_ghost_train_track_25_deg_up(
|
||||
const TileElement* tileElement)
|
||||
{
|
||||
uint32_t imageId = ghost_train_track_pieces_25_deg_up[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
imageId = ghost_train_track_pieces_25_deg_up[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 23, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 23, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -191,10 +191,10 @@ static void paint_ghost_train_track_flat_to_25_deg_up(
|
||||
const TileElement* tileElement)
|
||||
{
|
||||
uint32_t imageId = ghost_train_track_pieces_flat_to_25_deg_up[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
imageId = ghost_train_track_pieces_flat_to_25_deg_up[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -227,10 +227,10 @@ static void paint_ghost_train_track_25_deg_up_to_flat_shared(
|
||||
const TileElement* tileElement)
|
||||
{
|
||||
uint32_t imageId = ghost_train_track_pieces_25_deg_up_to_flat[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
imageId = ghost_train_track_pieces_25_deg_up_to_flat[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 15, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -322,10 +322,10 @@ static void paint_ghost_train_station(
|
||||
};
|
||||
|
||||
imageId = imageIds[direction] | session->TrackColours[SCHEME_MISC];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 28, 3, height - 2, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 28, 3, height - 2, 0, 2, height);
|
||||
|
||||
imageId = ghost_train_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98199C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 0, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 0, height);
|
||||
|
||||
paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
@@ -423,7 +423,7 @@ static void paint_ghost_train_track_spinning_tunnel(
|
||||
{
|
||||
uint32_t imageId = ghost_train_track_pieces_spinning_tunnel_track[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 28, 20, 3, height, 2, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 28, 20, 3, height, 2, 6, height);
|
||||
|
||||
track_paint_util_spinning_tunnel_paint(session, 3, height, direction);
|
||||
|
||||
@@ -442,7 +442,7 @@ static void paint_ghost_train_track_brakes(
|
||||
{
|
||||
uint32_t imageId = ghost_train_track_pieces_brakes[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 6, height);
|
||||
|
||||
paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_0);
|
||||
|
||||
|
||||
@@ -604,30 +604,30 @@ static void paint_miniature_railway_track_flat(
|
||||
session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
uint32_t imageId, imageIdAlt;
|
||||
|
||||
// In the following 3 calls to sub_98197C_rotated/sub_98199C_rotated, we add 1 to the
|
||||
// In the following 3 calls to PaintAddImageAsParentRotated/PaintAddImageAsChildRotated, we add 1 to the
|
||||
// bound_box_offset_z argument to make straight tracks draw above footpaths
|
||||
if (isSupported)
|
||||
{
|
||||
imageId = miniature_railway_track_floor[direction] | session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = miniature_railway_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
if (!paintAsGravel)
|
||||
{
|
||||
sub_98199C_rotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageIdAlt = miniature_railway_track_to_gravel(imageId);
|
||||
sub_98199C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
}
|
||||
if (paintGrooved)
|
||||
{
|
||||
imageIdAlt = miniature_railway_track_to_grooved(imageId);
|
||||
sub_98199C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2);
|
||||
PaintAddImageAsChildRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2);
|
||||
imageIdAlt = miniature_railway_track_to_grooved_indent(
|
||||
imageId, session->PathElementOnSameHeight, direction, session->CurrentRotation);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction,
|
||||
(imageIdAlt & 0x7FFFF) | IMAGE_TYPE_REMAP | IMAGE_TYPE_TRANSPARENT | (PALETTE_DARKEN_2 << 19), 0, 6, 32, 20, 2,
|
||||
height, 0, 6, height + 2);
|
||||
@@ -638,20 +638,20 @@ static void paint_miniature_railway_track_flat(
|
||||
imageId = miniature_railway_track_pieces_flat[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
if (!paintAsGravel)
|
||||
{
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageIdAlt = miniature_railway_track_to_gravel(imageId);
|
||||
sub_98197C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height);
|
||||
}
|
||||
if (paintGrooved)
|
||||
{
|
||||
imageIdAlt = miniature_railway_track_to_grooved(imageId);
|
||||
sub_98197C_rotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2);
|
||||
PaintAddImageAsParentRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2);
|
||||
imageIdAlt = miniature_railway_track_to_grooved_indent(
|
||||
imageId, session->PathElementOnSameHeight, direction, session->CurrentRotation);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction,
|
||||
(imageIdAlt & 0x7FFFF) | IMAGE_TYPE_REMAP | IMAGE_TYPE_TRANSPARENT | (PALETTE_DARKEN_2 << 19), 0, 6, 32, 20, 2,
|
||||
height, 0, 6, height + 2);
|
||||
@@ -674,10 +674,10 @@ static void paint_miniature_railway_station(
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
|
||||
imageId = miniature_railway_station_floor[direction] | session->TrackColours[SCHEME_MISC];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 28, 2, height - 2, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 28, 2, height - 2, 0, 2, height);
|
||||
|
||||
imageId = miniature_railway_track_pieces_flat_station[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98199C_rotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 0, height);
|
||||
PaintAddImageAsChildRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 0, height);
|
||||
|
||||
paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
@@ -695,7 +695,7 @@ static void paint_miniature_railway_track_25_deg_up(
|
||||
{
|
||||
uint32_t imageId = miniature_railway_track_pieces_25_deg_up[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -727,7 +727,7 @@ static void paint_miniature_railway_track_flat_to_25_deg_up(
|
||||
{
|
||||
uint32_t imageId = miniature_railway_track_pieces_flat_to_25_deg_up[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -759,7 +759,7 @@ static void paint_miniature_railway_track_25_deg_up_to_flat(
|
||||
{
|
||||
uint32_t imageId = miniature_railway_track_pieces_25_deg_up_to_flat[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 2, 32, 25, 2, height, 0, 3, height);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -1063,7 +1063,7 @@ static void paint_miniature_railway_track_s_bend_left(
|
||||
|
||||
if (!isSupported)
|
||||
{
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageId, static_cast<int8_t>(offset.x), static_cast<int8_t>(offset.y), bounds.x, bounds.y, 2,
|
||||
height, offset.x, offset.y, height);
|
||||
}
|
||||
@@ -1071,11 +1071,11 @@ static void paint_miniature_railway_track_s_bend_left(
|
||||
{
|
||||
imageId = miniature_railway_s_bend_left_tiles_track_floor[direction & 1][trackSequence]
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height);
|
||||
|
||||
imageId = miniature_railway_track_pieces_s_bend_left[direction & 1][trackSequence]
|
||||
| session->TrackColours[SCHEME_TRACK];
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageId, static_cast<int8_t>(offset.x), static_cast<int8_t>(offset.y), bounds.x, bounds.y, 2,
|
||||
height, offset.x, offset.y, height);
|
||||
}
|
||||
@@ -1163,7 +1163,7 @@ static void paint_miniature_railway_track_s_bend_right(
|
||||
CoordsXY bounds = boundsList[trackSequence];
|
||||
if (!isSupported)
|
||||
{
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageId, static_cast<int8_t>(offset.x), static_cast<int8_t>(offset.y), bounds.x, bounds.y, 2,
|
||||
height, offset.x, offset.y, height);
|
||||
}
|
||||
@@ -1171,11 +1171,11 @@ static void paint_miniature_railway_track_s_bend_right(
|
||||
{
|
||||
imageId = miniature_railway_s_bend_right_tiles_track_floor[direction & 1][trackSequence]
|
||||
| session->TrackColours[SCHEME_SUPPORTS];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, bounds.x, bounds.y, 2, height, offset.x, offset.y, height);
|
||||
|
||||
imageId = miniature_railway_track_pieces_s_bend_right[direction & 1][trackSequence]
|
||||
| session->TrackColours[SCHEME_TRACK];
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageId, static_cast<int8_t>(offset.x), static_cast<int8_t>(offset.y), bounds.x, bounds.y, 2,
|
||||
height, offset.x, offset.y, height);
|
||||
}
|
||||
|
||||
@@ -28,13 +28,13 @@ static void suspended_monorail_track_flat(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25853, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25854, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -63,12 +63,12 @@ static void suspended_monorail_track_station(
|
||||
{ SPR_STATION_BASE_C_NW_SE, 25854, SPR_STATION_INVERTED_BAR_F_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_MISC], 0, 0, 32, 28, 1, height, 0, 2, height);
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][1] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
sub_98199C_rotated(
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, imageIds[direction][2] | session->TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
track_paint_util_draw_station_metal_supports_2(session, direction, height, session->TrackColours[SCHEME_SUPPORTS], 3);
|
||||
@@ -86,22 +86,22 @@ static void suspended_monorail_track_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25945, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25946, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25947, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25948, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 48);
|
||||
break;
|
||||
@@ -151,22 +151,22 @@ static void suspended_monorail_track_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25937, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25938, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25939, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25940, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
@@ -216,22 +216,22 @@ static void suspended_monorail_track_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25941, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25942, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25943, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25944, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 40);
|
||||
break;
|
||||
@@ -308,22 +308,22 @@ static void suspended_monorail_track_left_quarter_turn_5(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25876, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25881, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25886, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25871, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -356,12 +356,12 @@ static void suspended_monorail_track_left_quarter_turn_5(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25880, 0, 0, 32, 16, 3, height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25885, 0, 0, 32, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25870, 0, 0, 32, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -377,17 +377,17 @@ static void suspended_monorail_track_left_quarter_turn_5(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25874, 0, 0, 16, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25879, 0, 0, 16, 16, 3, height + 32, 16, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25884, 0, 0, 16, 16, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -407,7 +407,7 @@ static void suspended_monorail_track_left_quarter_turn_5(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25873, 0, 0, 16, 32, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -420,7 +420,7 @@ static void suspended_monorail_track_left_quarter_turn_5(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25883, 0, 0, 16, 32, 3, height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25868, 0, 0, 16, 32, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -436,22 +436,22 @@ static void suspended_monorail_track_left_quarter_turn_5(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25872, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25877, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25882, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25867, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -497,22 +497,22 @@ static void suspended_monorail_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25919, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25923, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25922, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25926, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -541,12 +541,12 @@ static void suspended_monorail_track_s_bend_left(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25924, 0, 0, 32, 26, 3, height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25921, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25925, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -575,12 +575,12 @@ static void suspended_monorail_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25921, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25925, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -617,22 +617,22 @@ static void suspended_monorail_track_s_bend_left(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25922, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25926, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25919, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25923, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -668,22 +668,22 @@ static void suspended_monorail_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25927, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25931, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25930, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25934, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -704,12 +704,12 @@ static void suspended_monorail_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25928, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25932, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -754,12 +754,12 @@ static void suspended_monorail_track_s_bend_right(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25933, 0, 0, 32, 26, 3, height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25928, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25932, 0, 0, 32, 26, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -788,22 +788,22 @@ static void suspended_monorail_track_s_bend_right(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25930, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25934, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25927, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25931, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -839,22 +839,22 @@ static void suspended_monorail_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25860, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25863, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25866, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25857, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -879,7 +879,7 @@ static void suspended_monorail_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25859, 0, 0, 16, 16, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -888,12 +888,12 @@ static void suspended_monorail_track_left_quarter_turn_3(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25862, 0, 0, 16, 16, 3, height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25865, 0, 0, 16, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25856, 0, 0, 16, 16, 3, height + 32, 16, 16,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -906,22 +906,22 @@ static void suspended_monorail_track_left_quarter_turn_3(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25858, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25861, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25864, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25855, 0, 0, 20, 32, 3, height + 32, 6, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -967,22 +967,22 @@ static void suspended_monorail_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25903, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25907, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25911, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25915, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1003,22 +1003,22 @@ static void suspended_monorail_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25904, 0, 0, 32, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25908, 0, 0, 34, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25912, 0, 0, 32, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25916, 0, 0, 32, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1034,22 +1034,22 @@ static void suspended_monorail_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25905, 0, 0, 16, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25909, 0, 0, 16, 16, 3, height + 32, 16, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25913, 0, 0, 16, 16, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25917, 0, 0, 16, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1068,22 +1068,22 @@ static void suspended_monorail_track_left_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25906, 0, 0, 16, 16, 3, height + 32, 16, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25910, 0, 0, 16, 18, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25914, 0, 0, 16, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25918, 0, 0, 16, 16, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1130,22 +1130,22 @@ static void suspended_monorail_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25887, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25891, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25895, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25899, 0, 0, 32, 20, 3, height + 32, 0, 6,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1166,22 +1166,22 @@ static void suspended_monorail_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25888, 0, 0, 32, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25892, 0, 0, 32, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25896, 0, 0, 34, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25900, 0, 0, 32, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1197,22 +1197,22 @@ static void suspended_monorail_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25889, 0, 0, 16, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25893, 0, 0, 16, 16, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25897, 0, 0, 28, 28, 3, height + 32, 4, 4,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25901, 0, 0, 16, 16, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1231,22 +1231,22 @@ static void suspended_monorail_track_right_eighth_to_diag(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25890, 0, 0, 16, 16, 3, height + 32, 16, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25894, 0, 0, 16, 16, 3, height + 32, 0, 0,
|
||||
height + 32);
|
||||
break;
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25898, 0, 0, 16, 18, 3, height + 32, 0, 16,
|
||||
height + 32);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25902, 0, 0, 16, 16, 3, height + 32, 16, 16,
|
||||
height + 32);
|
||||
break;
|
||||
@@ -1311,7 +1311,7 @@ static void suspended_monorail_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25936, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 32);
|
||||
break;
|
||||
@@ -1324,7 +1324,7 @@ static void suspended_monorail_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25935, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 32);
|
||||
break;
|
||||
@@ -1337,7 +1337,7 @@ static void suspended_monorail_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25935, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 32);
|
||||
break;
|
||||
@@ -1350,7 +1350,7 @@ static void suspended_monorail_track_diag_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25936, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 32);
|
||||
break;
|
||||
@@ -1394,7 +1394,7 @@ static void suspended_monorail_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25960, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1407,7 +1407,7 @@ static void suspended_monorail_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25957, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1420,7 +1420,7 @@ static void suspended_monorail_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25959, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1433,7 +1433,7 @@ static void suspended_monorail_track_diag_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25958, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1477,7 +1477,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25952, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1490,7 +1490,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25949, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1503,7 +1503,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25951, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1516,7 +1516,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_up(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25950, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1560,7 +1560,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25956, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1573,7 +1573,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25953, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1586,7 +1586,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25955, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1599,7 +1599,7 @@ static void suspended_monorail_track_diag_25_deg_up_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25954, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1643,7 +1643,7 @@ static void suspended_monorail_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25958, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1656,7 +1656,7 @@ static void suspended_monorail_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25959, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1669,7 +1669,7 @@ static void suspended_monorail_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25957, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1682,7 +1682,7 @@ static void suspended_monorail_track_diag_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25960, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 48);
|
||||
break;
|
||||
@@ -1726,7 +1726,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25954, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1738,7 +1738,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25955, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1750,7 +1750,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25953, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1762,7 +1762,7 @@ static void suspended_monorail_track_diag_flat_to_25_deg_down(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25956, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1806,7 +1806,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 3:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25950, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1819,7 +1819,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25951, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1832,7 +1832,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25949, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
@@ -1845,7 +1845,7 @@ static void suspended_monorail_track_diag_25_deg_down_to_flat(
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session->TrackColours[SCHEME_TRACK] | 25952, -16, -16, 32, 32, 3, height + 32, -16,
|
||||
-16, height + 40);
|
||||
break;
|
||||
|
||||
@@ -370,10 +370,10 @@ static void dinghy_slide_track_flat(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -398,7 +398,7 @@ static void dinghy_slide_track_station(
|
||||
{ SPR_DINGHY_SLIDE_STATION_NW_SE, SPR_STATION_BASE_B_NW_SE },
|
||||
};
|
||||
|
||||
sub_98197C_rotated(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, imageIds[direction][0] | session->TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6,
|
||||
height + 3);
|
||||
sub_98196C_rotated(
|
||||
@@ -438,10 +438,10 @@ static void dinghy_slide_track_25_deg_up(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -474,10 +474,10 @@ static void dinghy_slide_track_60_deg_up(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -519,10 +519,10 @@ static void dinghy_slide_track_flat_to_25_deg_up(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -555,10 +555,10 @@ static void dinghy_slide_track_25_deg_up_to_60_deg_up(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -591,10 +591,10 @@ static void dinghy_slide_track_60_deg_up_to_25_deg_up(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -636,10 +636,10 @@ static void dinghy_slide_track_25_deg_up_to_flat(
|
||||
|
||||
uint8_t isChained = tileElement->AsTrack()->HasChain() ? 1 : 0;
|
||||
uint32_t imageId = imageIds[isChained][direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[isChained][direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -868,16 +868,16 @@ static void dinghy_slide_track_s_bend_left(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -892,8 +892,8 @@ static void dinghy_slide_track_s_bend_left(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -907,8 +907,8 @@ static void dinghy_slide_track_s_bend_left(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
@@ -963,16 +963,16 @@ static void dinghy_slide_track_s_bend_right(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -986,8 +986,8 @@ static void dinghy_slide_track_s_bend_right(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1000,8 +1000,8 @@ static void dinghy_slide_track_s_bend_right(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
@@ -1127,10 +1127,10 @@ static void dinghy_slide_track_flat_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1156,10 +1156,10 @@ static void dinghy_slide_track_25_deg_up_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1192,10 +1192,10 @@ static void dinghy_slide_track_60_deg_up_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1228,10 +1228,10 @@ static void dinghy_slide_track_flat_to_25_deg_up_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1264,10 +1264,10 @@ static void dinghy_slide_track_25_deg_up_to_60_deg_up_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1300,10 +1300,10 @@ static void dinghy_slide_track_60_deg_up_to_25_deg_up_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1336,10 +1336,10 @@ static void dinghy_slide_track_25_deg_up_to_flat_covered(
|
||||
};
|
||||
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
|
||||
imageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -1563,16 +1563,16 @@ static void dinghy_slide_track_s_bend_left_covered(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1587,8 +1587,8 @@ static void dinghy_slide_track_s_bend_left_covered(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1602,8 +1602,8 @@ static void dinghy_slide_track_s_bend_left_covered(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
@@ -1658,16 +1658,16 @@ static void dinghy_slide_track_s_bend_right_covered(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1681,8 +1681,8 @@ static void dinghy_slide_track_s_bend_right_covered(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -1695,8 +1695,8 @@ static void dinghy_slide_track_s_bend_right_covered(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
|
||||
@@ -168,8 +168,8 @@ static void paint_log_flume_track_flat(
|
||||
uint32_t imageId = LogFlumeTrackFlatImageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = LogFlumeTrackFlatImageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -187,7 +187,7 @@ static void paint_log_flume_track_station(
|
||||
const TileElement* tileElement)
|
||||
{
|
||||
uint32_t imageId = LogFlumeTrackFlatImageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height + 3);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height + 3);
|
||||
|
||||
if (direction & 1)
|
||||
{
|
||||
@@ -233,8 +233,8 @@ static void paint_log_flume_track_25_deg_up(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -268,8 +268,8 @@ static void paint_log_flume_track_flat_to_25_deg_up(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -303,8 +303,8 @@ static void paint_log_flume_track_25_deg_up_to_flat(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -338,8 +338,8 @@ static void paint_log_flume_track_25_deg_down(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -373,8 +373,8 @@ static void paint_log_flume_track_flat_to_25_deg_down(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -408,8 +408,8 @@ static void paint_log_flume_track_25_deg_down_to_flat(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
|
||||
if (track_paint_util_should_paint_supports(session->MapPosition))
|
||||
{
|
||||
@@ -459,16 +459,16 @@ static void paint_log_flume_track_s_bend_left(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_B4 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -483,8 +483,8 @@ static void paint_log_flume_track_s_bend_left(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -498,8 +498,8 @@ static void paint_log_flume_track_s_bend_left(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_C0 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
@@ -554,16 +554,16 @@ static void paint_log_flume_track_s_bend_right(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_BC | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 0 || direction == 1)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -577,8 +577,8 @@ static void paint_log_flume_track_s_bend_right(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
if (direction == 2 || direction == 3)
|
||||
{
|
||||
metal_a_supports_paint_setup(
|
||||
@@ -591,8 +591,8 @@ static void paint_log_flume_track_s_bend_right(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
paint_util_set_segment_support_height(
|
||||
session, paint_util_rotate_segments(SEGMENT_B8 | SEGMENT_C4 | SEGMENT_CC | SEGMENT_D0, direction), 0xFFFF, 0);
|
||||
@@ -770,10 +770,10 @@ static void paint_log_flume_track_on_ride_photo(
|
||||
}
|
||||
|
||||
imageId = LogFlumeTrackFlatImageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 0, height, 0, 6, height + 3);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 0, height, 0, 6, height + 3);
|
||||
|
||||
imageId = LogFlumeTrackFlatImageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 1, 21, height, 0, 27, height + 5);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 1, 21, height, 0, 27, height + 5);
|
||||
|
||||
track_paint_util_onride_photo_paint(session, direction, height + 3, tileElement);
|
||||
|
||||
@@ -796,8 +796,8 @@ static void paint_log_flume_track_reverser(
|
||||
uint32_t imageId = imageIds[direction][0] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = imageIds[direction][1] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 26, height, 0, 27, height);
|
||||
|
||||
metal_a_supports_paint_setup(session, METAL_SUPPORTS_BOXED, 4, 0, height, session->TrackColours[SCHEME_SUPPORTS]);
|
||||
|
||||
|
||||
@@ -480,8 +480,8 @@ static void paint_splash_boats_track_25_deg_up(
|
||||
uint32_t imageId = SplashBoats25DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats25DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, (direction & 1), 9 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -505,8 +505,8 @@ static void paint_splash_boats_track_60_deg_up(
|
||||
uint32_t imageId = SplashBoats60DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats60DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
session->WoodenSupportsPrependTo = sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 98, height, 0, 27, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, (direction & 1), 21 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -530,8 +530,8 @@ static void paint_splash_boats_track_flat_to_25_deg_up(
|
||||
uint32_t imageId = SplashBoatsFlatTo25DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoatsFlatTo25DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, (direction & 1), 1 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -555,8 +555,8 @@ static void paint_splash_boats_track_25_deg_up_to_flat(
|
||||
uint32_t imageId = SplashBoats25DegUpToFlatImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats25DegUpToFlatFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, (direction & 1), 5 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -580,8 +580,8 @@ static void paint_splash_boats_track_25_deg_up_to_60_deg_up(
|
||||
uint32_t imageId = SplashBoats25DegUpTo60DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats25DegUpTo60DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
session->WoodenSupportsPrependTo = sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, (direction & 1), 13 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -605,8 +605,8 @@ static void paint_splash_boats_track_60_deg_up_to_25_deg_up(
|
||||
uint32_t imageId = SplashBoats60DegUpTo25DegUpImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats60DegUpTo25DegUpFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
session->WoodenSupportsPrependTo = sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
session->WoodenSupportsPrependTo = PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 66, height, 0, 27, height);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, (direction & 1), 17 + direction, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -630,8 +630,8 @@ static void paint_splash_boats_track_25_deg_down(
|
||||
uint32_t imageId = SplashBoats25DegDownImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats25DegDownFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 50, height, 0, 27, height);
|
||||
|
||||
static constexpr const uint8_t specialSupport[] = { 11, 12, 9, 10 };
|
||||
wooden_a_supports_paint_setup(
|
||||
@@ -663,8 +663,8 @@ static void paint_splash_boats_track_flat_to_25_deg_down(
|
||||
uint32_t imageId = SplashBoatsFlatTo25DegDownImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoatsFlatTo25DegDownFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 34, height, 0, 27, height);
|
||||
|
||||
static constexpr const uint8_t specialSupport[] = { 7, 8, 5, 6 };
|
||||
wooden_a_supports_paint_setup(
|
||||
@@ -705,8 +705,8 @@ static void paint_splash_boats_track_25_deg_down_to_flat(
|
||||
uint32_t imageId = SplashBoats25DegDownToFlatImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
uint32_t frontImageId = SplashBoats25DegDownToFlatFrontImageId[direction] | session->TrackColours[SCHEME_TRACK];
|
||||
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 20, 2, height, 0, 6, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 1, 42, height, 0, 27, height);
|
||||
|
||||
static constexpr const uint8_t specialSupport[] = { 3, 4, 1, 2 };
|
||||
wooden_a_supports_paint_setup(
|
||||
@@ -1009,15 +1009,15 @@ static void paint_splash_boats_track_s_bend_left(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, supportTypes1[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -1030,8 +1030,8 @@ static void paint_splash_boats_track_s_bend_left(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, supportTypes2[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -1043,8 +1043,8 @@ static void paint_splash_boats_track_s_bend_left(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
break;
|
||||
@@ -1101,15 +1101,15 @@ static void paint_splash_boats_track_s_bend_right(
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
break;
|
||||
case 1:
|
||||
bboy = (direction == 2 || direction == 3) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, supportTypes1[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -1122,8 +1122,8 @@ static void paint_splash_boats_track_s_bend_right(
|
||||
break;
|
||||
case 2:
|
||||
bboy = (direction == 0 || direction == 1) ? 0 : 6;
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 26, 2, height, 0, bboy, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 26, 0, height, 0, bboy, height + 27);
|
||||
|
||||
wooden_a_supports_paint_setup(
|
||||
session, supportTypes2[direction], 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
@@ -1135,8 +1135,8 @@ static void paint_splash_boats_track_s_bend_right(
|
||||
0xFFFF, 0);
|
||||
break;
|
||||
case 3:
|
||||
sub_98197C_rotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
sub_98197C_rotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
PaintAddImageAsParentRotated(session, direction, imageId, 0, 0, 32, 27, 2, height, 0, 2, height);
|
||||
PaintAddImageAsParentRotated(session, direction, frontImageId, 0, 0, 32, 27, 0, height, 0, 2, height + 27);
|
||||
wooden_a_supports_paint_setup(session, direction & 1, 0, height, session->TrackColours[SCHEME_SUPPORTS], nullptr);
|
||||
paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user