mirror of https://github.com/OpenRCT2/OpenRCT2.git
Name sub_88ABA4()
This commit is contained in:
parent
ea96ab0225
commit
325bb3e2da
|
@ -43,7 +43,7 @@ rct_crooked_house_bound_box crooked_house_data[] = {
|
|||
* @param (ebx) image_id
|
||||
* @param (edx) height
|
||||
*/
|
||||
static void sub_88ABA4(uint8 direction, uint8 x_offset, uint8 y_offset, uint32 segment, sint32 height) {
|
||||
static void paint_crooked_house_structure(uint8 direction, uint8 x_offset, uint8 y_offset, uint32 segment, sint32 height) {
|
||||
rct_map_element *original_map_element = g_currently_drawn_item;
|
||||
|
||||
rct_ride *ride = get_ride(original_map_element->properties.track.ride_index);
|
||||
|
@ -80,10 +80,10 @@ static void paint_crooked_house(uint8 rideIndex, uint8 trackSequence, uint8 dire
|
|||
track_paint_util_paint_fences(edges, position, mapElement, ride, gTrackColours[SCHEME_MISC], height, fenceSpritesRope, get_current_rotation());
|
||||
|
||||
switch(trackSequence) {
|
||||
case 3: sub_88ABA4(direction, 32, 224, 0, height); break;
|
||||
case 3: paint_crooked_house_structure(direction, 32, 224, 0, height); break;
|
||||
// case 5: sub_88ABA4(direction, 0, 224, 1, height); break;
|
||||
case 6: sub_88ABA4(direction, 224, 32, 4, height); break;
|
||||
case 7: sub_88ABA4(direction, 224, 224, 2, height); break;
|
||||
case 6: paint_crooked_house_structure(direction, 224, 32, 4, height); break;
|
||||
case 7: paint_crooked_house_structure(direction, 224, 224, 2, height); break;
|
||||
// case 8: sub_88ABA4(rideIndex, 224, 0, 3, height); break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue