From 968719f5b7f539bd4fdbe1db3f2cf50cd2e2d116 Mon Sep 17 00:00:00 2001 From: matheusvb3 <98937378+matheusvb3@users.noreply.github.com> Date: Sun, 12 Oct 2025 21:10:33 -0300 Subject: [PATCH] Rename inverter ship main support vars and values --- .../track/thrill/SwingingInverterShip.cpp | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/openrct2/paint/track/thrill/SwingingInverterShip.cpp b/src/openrct2/paint/track/thrill/SwingingInverterShip.cpp index a71dfd5209..d20b7078c7 100644 --- a/src/openrct2/paint/track/thrill/SwingingInverterShip.cpp +++ b/src/openrct2/paint/track/thrill/SwingingInverterShip.cpp @@ -50,17 +50,17 @@ static constexpr BoundBoxXY kSwingingInverterShipBounds[] = { enum { - SPR_SWINGING_INVERTER_SHIP_FRAME_0 = 21998, - SPR_SWINGING_INVERTER_SHIP_FRAME_1 = 21999, - SPR_SWINGING_INVERTER_SHIP_FRAME_2 = 22000, - SPR_SWINGING_INVERTER_SHIP_FRAME_3 = 22001, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_NW = 21998, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_NE = 21999, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_SE = 22000, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_SW = 22001, }; -static constexpr uint32_t kSwingingInverterShipFrameSprites[] = { - SPR_SWINGING_INVERTER_SHIP_FRAME_0, - SPR_SWINGING_INVERTER_SHIP_FRAME_1, - SPR_SWINGING_INVERTER_SHIP_FRAME_2, - SPR_SWINGING_INVERTER_SHIP_FRAME_3, +static constexpr uint32_t kSwingingInverterShipMainSupportSprites[] = { + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_NW, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_NE, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_SE, + SPR_SWINGING_INVERTER_SHIP_MAIN_SUPPORT_SW, }; static void PaintSwingingInverterShipStructure( @@ -111,16 +111,16 @@ static void PaintSwingingInverterShipStructure( } auto frameImageTemplate = session.TrackColours; auto vehicleImageId = vehicleImageTemplate.WithIndex(vehicleImageIndex); - auto frameImageId = frameImageTemplate.WithIndex(kSwingingInverterShipFrameSprites[direction]); + auto mainSupportImageId = frameImageTemplate.WithIndex(kSwingingInverterShipMainSupportSprites[direction]); if (direction & 2) { PaintAddImageAsParent(session, vehicleImageId, offset, bb); - PaintAddImageAsChild(session, frameImageId, offset, bb); + PaintAddImageAsChild(session, mainSupportImageId, offset, bb); } else { - PaintAddImageAsParent(session, frameImageId, offset, bb); + PaintAddImageAsParent(session, mainSupportImageId, offset, bb); PaintAddImageAsChild(session, vehicleImageId, offset, bb); }