From 31a8982a631cff9b3d2ec156e99fba65c8d61fc2 Mon Sep 17 00:00:00 2001 From: mix Date: Sat, 10 May 2025 03:46:26 +0100 Subject: [PATCH] Remove unused VehiclePitchDown50BankedLeft135 and right functions --- src/openrct2/paint/vehicle/VehiclePaint.cpp | 36 --------------------- 1 file changed, 36 deletions(-) diff --git a/src/openrct2/paint/vehicle/VehiclePaint.cpp b/src/openrct2/paint/vehicle/VehiclePaint.cpp index 602e94f358..448b2a5651 100644 --- a/src/openrct2/paint/vehicle/VehiclePaint.cpp +++ b/src/openrct2/paint/vehicle/VehiclePaint.cpp @@ -3926,36 +3926,6 @@ static void VehiclePitchDown50BankedRight90( } } -static void VehiclePitchDown50BankedLeft135( - PaintSession& session, const Vehicle* vehicle, int32_t imageDirection, int32_t z, const CarEntry* carEntry) -{ - if (carEntry->GroupEnabled(SpriteGroupType::Corkscrews)) - { - int32_t boundingBoxNum = (YawTo4(imageDirection)) + 4 * 4 + 144; - int32_t spriteNum = carEntry->SpriteOffset(SpriteGroupType::Corkscrews, imageDirection, 4); - VehicleSpritePaintWithSwinging(session, vehicle, spriteNum, boundingBoxNum, z, carEntry); - } - else - { - VehiclePitchDown60Unbanked(session, vehicle, imageDirection, z, carEntry); - } -} - -static void VehiclePitchDown50BankedRight135( - PaintSession& session, const Vehicle* vehicle, int32_t imageDirection, int32_t z, const CarEntry* carEntry) -{ - if (carEntry->GroupEnabled(SpriteGroupType::Corkscrews)) - { - int32_t boundingBoxNum = (YawTo4(imageDirection)) + 4 * 4 + 144; - int32_t spriteNum = carEntry->SpriteOffset(SpriteGroupType::Corkscrews, imageDirection, 4); - VehicleSpritePaintWithSwinging(session, vehicle, spriteNum, boundingBoxNum, z, carEntry); - } - else - { - VehiclePitchDown60Unbanked(session, vehicle, imageDirection, z, carEntry); - } -} - static void VehiclePitchDown50( PaintSession& session, const Vehicle* vehicle, int32_t imageDirection, int32_t z, const CarEntry* carEntry) { @@ -3976,18 +3946,12 @@ static void VehiclePitchDown50( case 6: VehiclePitchDown50BankedLeft90(session, vehicle, imageDirection, z, carEntry); break; - case 8: - VehiclePitchDown50BankedLeft135(session, vehicle, imageDirection, z, carEntry); - break; case 10: VehiclePitchDown50BankedRight67(session, vehicle, imageDirection, z, carEntry); break; case 11: VehiclePitchDown50BankedRight90(session, vehicle, imageDirection, z, carEntry); break; - case 13: - VehiclePitchDown50BankedRight135(session, vehicle, imageDirection, z, carEntry); - break; default: VehiclePitchDown60Unbanked(session, vehicle, imageDirection, z, carEntry); }