diff --git a/src/ride/coaster/steeplechase.c b/src/ride/coaster/steeplechase.c index 634ee567df..e616d56874 100644 --- a/src/ride/coaster/steeplechase.c +++ b/src/ride/coaster/steeplechase.c @@ -60,6 +60,24 @@ static void steeplechase_track_flat(uint8 rideIndex, uint8 trackSequence, uint8 paint_util_set_general_support_height(height + 32, 0x20); } +static void steeplechase_track_station(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement) +{ + static const uint32 imageIds[4][3] = { + { 28635, SPR_STATION_BASE_B_SW_NE }, + { 28636, SPR_STATION_BASE_B_NW_SE }, + { 28635, SPR_STATION_BASE_B_SW_NE }, + { 28636, SPR_STATION_BASE_B_NW_SE }, + }; + + sub_98197C_rotated(direction, imageIds[direction][1] | gTrackColours[SCHEME_MISC], 0, 0, 32, 28, 3, height - 2, 0, 2, height); + sub_98199C_rotated(direction, imageIds[direction][0] | gTrackColours[SCHEME_TRACK], 0, 6, 32, 20, 3, height, 0, 0, height); + track_paint_util_draw_station_metal_supports_2(direction, height, gTrackColours[SCHEME_SUPPORTS], 3); + track_paint_util_draw_station(rideIndex, trackSequence, direction, height, mapElement); + paint_util_push_tunnel_rotated(direction, height, TUNNEL_6); + paint_util_set_segment_support_height(SEGMENTS_ALL, 0xFFFF, 0); + paint_util_set_general_support_height(height + 32, 0x20); +} + static void steeplechase_track_25_deg_up(uint8 rideIndex, uint8 trackSequence, uint8 direction, int height, rct_map_element * mapElement) { if (track_element_is_lift_hill(mapElement)) { @@ -1541,6 +1559,10 @@ TRACK_PAINT_FUNCTION get_track_paint_function_steeplechase(int trackType, int di switch (trackType) { case TRACK_ELEM_FLAT: return steeplechase_track_flat; + case TRACK_ELEM_END_STATION: + case TRACK_ELEM_BEGIN_STATION: + case TRACK_ELEM_MIDDLE_STATION: + return steeplechase_track_station; case TRACK_ELEM_25_DEG_UP: return steeplechase_track_25_deg_up; case TRACK_ELEM_FLAT_TO_25_DEG_UP: