From 2ed6bef643c7217dcaaf4735dc4714789f140e1a Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Sun, 2 Aug 2026 20:07:26 +0200 Subject: [PATCH] Rename members of VehicleTrackSubposition --- src/openrct2/entity/Guest.cpp | 2 +- src/openrct2/ride/CableLift.cpp | 2 +- src/openrct2/ride/Ride.cpp | 16 ++--- src/openrct2/ride/Vehicle.Collision.cpp | 2 +- src/openrct2/ride/Vehicle.MiniGolf.cpp | 10 +-- src/openrct2/ride/Vehicle.TrackMotion.cpp | 66 ++++++++++---------- src/openrct2/ride/Vehicle.cpp | 34 +++++----- src/openrct2/ride/VehicleSubpositionData.cpp | 36 +++++------ src/openrct2/ride/VehicleSubpositionData.h | 40 ++++++------ 9 files changed, 104 insertions(+), 104 deletions(-) diff --git a/src/openrct2/entity/Guest.cpp b/src/openrct2/entity/Guest.cpp index a268f8a24b..ae61ab1a70 100644 --- a/src/openrct2/entity/Guest.cpp +++ b/src/openrct2/entity/Guest.cpp @@ -4287,7 +4287,7 @@ namespace OpenRCT2 specialDirection = ((vehicle->orientation + 3) / 8) + 1; specialDirection &= 3; - if (vehicle->TrackSubposition == VehicleTrackSubposition::GoKartsRightLane) + if (vehicle->TrackSubposition == VehicleTrackSubposition::goKartsRightLane) specialDirection = DirectionReverse(specialDirection); } } diff --git a/src/openrct2/ride/CableLift.cpp b/src/openrct2/ride/CableLift.cpp index a8cd35660f..86ebd94cbb 100644 --- a/src/openrct2/ride/CableLift.cpp +++ b/src/openrct2/ride/CableLift.cpp @@ -70,7 +70,7 @@ Vehicle* CableLiftSegmentCreate( { peep = EntityId::GetNull(); } - current->TrackSubposition = VehicleTrackSubposition::Default; + current->TrackSubposition = VehicleTrackSubposition::standard; current->orientation = direction << 3; z = z * kCoordsZStep; diff --git a/src/openrct2/ride/Ride.cpp b/src/openrct2/ride/Ride.cpp index f93ba89106..f200c6fc6e 100644 --- a/src/openrct2/ride/Ride.cpp +++ b/src/openrct2/ride/Ride.cpp @@ -3033,7 +3033,7 @@ static Vehicle* VehicleCreateCar( if (carEntry.flags.has(CarEntryFlag::useDodgemCarPlacement)) { // Loc6DDCA4: - vehicle->TrackSubposition = VehicleTrackSubposition::Default; + vehicle->TrackSubposition = VehicleTrackSubposition::standard; int32_t direction = trackElement->getDirection(); auto dodgemPos = carPosition + CoordsXYZ{ word_9A3AB4[direction], 0 }; vehicle->TrackLocation = dodgemPos; @@ -3066,24 +3066,24 @@ static Vehicle* VehicleCreateCar( } else { - VehicleTrackSubposition subposition = VehicleTrackSubposition::Default; + VehicleTrackSubposition subposition = VehicleTrackSubposition::standard; if (carEntry.flags.has(CarEntryFlag::isChairlift)) { - subposition = VehicleTrackSubposition::ChairliftGoingOut; + subposition = VehicleTrackSubposition::chairliftGoingOut; } if (carEntry.flags.has(CarEntryFlag::isGoKart)) { // Choose which lane Go Kart should start in - subposition = VehicleTrackSubposition::GoKartsLeftLane; + subposition = VehicleTrackSubposition::goKartsLeftLane; if (vehicleIndex & 1) { - subposition = VehicleTrackSubposition::GoKartsRightLane; + subposition = VehicleTrackSubposition::goKartsRightLane; } } if (carEntry.flags.has(CarEntryFlag::isMiniGolf)) { - subposition = VehicleTrackSubposition::MiniGolfStart9; + subposition = VehicleTrackSubposition::miniGolfStart9; vehicle->var_D3 = 0; vehicle->mini_golf_current_animation = MiniGolfAnimation::Walk; vehicle->miniGolfFlags.clearAll(); @@ -3092,12 +3092,12 @@ static Vehicle* VehicleCreateCar( { if (vehicle->IsHead()) { - subposition = VehicleTrackSubposition::ReverserRCFrontBogie; + subposition = VehicleTrackSubposition::reverserRCFrontBogie; } } if (carEntry.flags.has(CarEntryFlag::isReverserCoasterPassengerCar)) { - subposition = VehicleTrackSubposition::ReverserRCRearBogie; + subposition = VehicleTrackSubposition::reverserRCRearBogie; } vehicle->TrackSubposition = subposition; diff --git a/src/openrct2/ride/Vehicle.Collision.cpp b/src/openrct2/ride/Vehicle.Collision.cpp index e5bb2c49d0..a267531a8c 100644 --- a/src/openrct2/ride/Vehicle.Collision.cpp +++ b/src/openrct2/ride/Vehicle.Collision.cpp @@ -137,7 +137,7 @@ bool Vehicle::UpdateMotionCollisionDetection(const CoordsXYZ& loc, EntityId* oth VehicleTrackSubposition ch = std::max(TrackSubposition, vehicle2->TrackSubposition); if (cl != ch) { - if (cl == VehicleTrackSubposition::GoKartsLeftLane && ch == VehicleTrackSubposition::GoKartsRightLane) + if (cl == VehicleTrackSubposition::goKartsLeftLane && ch == VehicleTrackSubposition::goKartsRightLane) continue; } diff --git a/src/openrct2/ride/Vehicle.MiniGolf.cpp b/src/openrct2/ride/Vehicle.MiniGolf.cpp index dd1d397211..7436014b41 100644 --- a/src/openrct2/ride/Vehicle.MiniGolf.cpp +++ b/src/openrct2/ride/Vehicle.MiniGolf.cpp @@ -276,7 +276,7 @@ void RideUpdateMeasurementsSpecialElements_MiniGolf(Ride& ride, const TrackElemT { TrackSubposition = prevVehicle->TrackSubposition; } - if (TrackSubposition != VehicleTrackSubposition::MiniGolfStart9) + if (TrackSubposition != VehicleTrackSubposition::miniGolfStart9) { TrackSubposition = VehicleTrackSubposition{ static_cast( static_cast(TrackSubposition) - 1u) }; @@ -320,13 +320,13 @@ void RideUpdateMeasurementsSpecialElements_MiniGolf(Ride& ride, const TrackElemT else { uint16_t rand16 = ScenarioRand() & 0xFFFF; - VehicleTrackSubposition nextTrackSubposition = VehicleTrackSubposition::MiniGolfBallPathC14; + VehicleTrackSubposition nextTrackSubposition = VehicleTrackSubposition::miniGolfBallPathC14; if (rand16 <= 0xA000) { - nextTrackSubposition = VehicleTrackSubposition::MiniGolfBallPathB12; + nextTrackSubposition = VehicleTrackSubposition::miniGolfBallPathB12; if (rand16 <= 0x900) { - nextTrackSubposition = VehicleTrackSubposition::MiniGolfBallPathA10; + nextTrackSubposition = VehicleTrackSubposition::miniGolfBallPathA10; } } TrackSubposition = nextTrackSubposition; @@ -589,7 +589,7 @@ void Vehicle::Loc6DCDE4(const Ride& curRide) void Vehicle::Loc6DCE02(const Ride& curRide) { acceleration /= _vehicleUnkF64E10; - if (TrackSubposition == VehicleTrackSubposition::ChairliftGoingBack) + if (TrackSubposition == VehicleTrackSubposition::chairliftGoingBack) { return; } diff --git a/src/openrct2/ride/Vehicle.TrackMotion.cpp b/src/openrct2/ride/Vehicle.TrackMotion.cpp index 994446ba1f..72f2d78ef7 100644 --- a/src/openrct2/ride/Vehicle.TrackMotion.cpp +++ b/src/openrct2/ride/Vehicle.TrackMotion.cpp @@ -419,7 +419,7 @@ void Vehicle::Sub6DBF3E() const auto* carEntry = Entry(); acceleration /= _vehicleUnkF64E10; - if (TrackSubposition == VehicleTrackSubposition::ChairliftGoingBack) + if (TrackSubposition == VehicleTrackSubposition::chairliftGoingBack) { return; } @@ -494,7 +494,7 @@ void Vehicle::Sub6DBF3E() // Determine the stop positions for the karts. If in left lane it's further along the track than the right lane. // Since it's not possible to overtake when the race has ended, this does not check for overtake states (7 and // 8). - cx = TrackSubposition == VehicleTrackSubposition::GoKartsRightLane ? 18 : 20; + cx = TrackSubposition == VehicleTrackSubposition::goKartsRightLane ? 18 : 20; } if (ax > cx) @@ -607,19 +607,19 @@ bool Vehicle::UpdateTrackMotionForwardsGetNewTrack( bool isGoingBack = false; switch (TrackSubposition) { - case VehicleTrackSubposition::ChairliftGoingBack: - case VehicleTrackSubposition::ChairliftEndBullwheel: - TrackSubposition = VehicleTrackSubposition::ChairliftGoingBack; + case VehicleTrackSubposition::chairliftGoingBack: + case VehicleTrackSubposition::chairliftEndBullwheel: + TrackSubposition = VehicleTrackSubposition::chairliftGoingBack; isGoingBack = true; break; - case VehicleTrackSubposition::ChairliftStartBullwheel: - TrackSubposition = VehicleTrackSubposition::ChairliftGoingOut; + case VehicleTrackSubposition::chairliftStartBullwheel: + TrackSubposition = VehicleTrackSubposition::chairliftGoingOut; break; - case VehicleTrackSubposition::GoKartsMovingToRightLane: - TrackSubposition = VehicleTrackSubposition::GoKartsRightLane; + case VehicleTrackSubposition::goKartsMovingToRightLane: + TrackSubposition = VehicleTrackSubposition::goKartsRightLane; break; - case VehicleTrackSubposition::GoKartsMovingToLeftLane: - TrackSubposition = VehicleTrackSubposition::GoKartsLeftLane; + case VehicleTrackSubposition::goKartsMovingToLeftLane: + TrackSubposition = VehicleTrackSubposition::goKartsLeftLane; break; default: break; @@ -692,7 +692,7 @@ bool Vehicle::UpdateTrackMotionForwardsGetNewTrack( { return false; } - if (carEntry->flags.has(CarEntryFlag::isGoKart) && TrackSubposition < VehicleTrackSubposition::GoKartsMovingToRightLane) + if (carEntry->flags.has(CarEntryFlag::isGoKart) && TrackSubposition < VehicleTrackSubposition::goKartsMovingToRightLane) { trackType = tileElement->asTrack()->GetTrackType(); if (trackType == TrackElemType::flat || trackType == TrackElemType::leftQuarterTurn3Tiles @@ -707,18 +707,18 @@ bool Vehicle::UpdateTrackMotionForwardsGetNewTrack( } } - if (TrackSubposition >= VehicleTrackSubposition::ChairliftGoingOut - && TrackSubposition <= VehicleTrackSubposition::ChairliftStartBullwheel) + if (TrackSubposition >= VehicleTrackSubposition::chairliftGoingOut + && TrackSubposition <= VehicleTrackSubposition::chairliftStartBullwheel) { TileCoordsXYZ curLocation{ TrackLocation }; if (curLocation == curRide.chairliftBullwheelLocation[1]) { - TrackSubposition = VehicleTrackSubposition::ChairliftEndBullwheel; + TrackSubposition = VehicleTrackSubposition::chairliftEndBullwheel; } else if (curLocation == curRide.chairliftBullwheelLocation[0]) { - TrackSubposition = VehicleTrackSubposition::ChairliftStartBullwheel; + TrackSubposition = VehicleTrackSubposition::chairliftStartBullwheel; } } @@ -887,7 +887,7 @@ bool Vehicle::UpdateTrackMotionForwards(const CarEntry* carEntry, const Ride& cu + CoordsXYZ{ moveInfo->x, moveInfo->y, moveInfo->z + GetRideTypeDescriptor(curRide.type).Heights.VehicleZOffset }; - bool useReverserDistance = TrackSubposition == VehicleTrackSubposition::ReverserRCFrontBogie + bool useReverserDistance = TrackSubposition == VehicleTrackSubposition::reverserRCFrontBogie && (trackType == TrackElemType::leftReverser || trackType == TrackElemType::rightReverser) && track_progress >= 30 && track_progress <= 66; @@ -895,7 +895,7 @@ bool Vehicle::UpdateTrackMotionForwards(const CarEntry* carEntry, const Ride& cu remaining_distance -= Geometry::getTranslationDistance( nextVehiclePosition - _vehicleCurPosition, useReverserDistance); - if (TrackSubposition == VehicleTrackSubposition::ReverserRCRearBogie + if (TrackSubposition == VehicleTrackSubposition::reverserRCRearBogie && (trackType == TrackElemType::leftReverser || trackType == TrackElemType::rightReverser) && track_progress == 96) { @@ -1006,18 +1006,18 @@ bool Vehicle::UpdateTrackMotionBackwardsGetNewTrack(TrackElemType trackType, con switch (TrackSubposition) { - case VehicleTrackSubposition::ChairliftEndBullwheel: - TrackSubposition = VehicleTrackSubposition::ChairliftGoingOut; + case VehicleTrackSubposition::chairliftEndBullwheel: + TrackSubposition = VehicleTrackSubposition::chairliftGoingOut; break; - case VehicleTrackSubposition::GoKartsMovingToRightLane: - TrackSubposition = VehicleTrackSubposition::GoKartsLeftLane; + case VehicleTrackSubposition::goKartsMovingToRightLane: + TrackSubposition = VehicleTrackSubposition::goKartsLeftLane; break; - case VehicleTrackSubposition::GoKartsMovingToLeftLane: - TrackSubposition = VehicleTrackSubposition::GoKartsRightLane; + case VehicleTrackSubposition::goKartsMovingToLeftLane: + TrackSubposition = VehicleTrackSubposition::goKartsRightLane; break; - case VehicleTrackSubposition::ChairliftGoingBack: - case VehicleTrackSubposition::ChairliftStartBullwheel: - TrackSubposition = VehicleTrackSubposition::ChairliftGoingBack; + case VehicleTrackSubposition::chairliftGoingBack: + case VehicleTrackSubposition::chairliftStartBullwheel: + TrackSubposition = VehicleTrackSubposition::chairliftGoingBack; nextTileBackwards = false; break; default: @@ -1084,18 +1084,18 @@ bool Vehicle::UpdateTrackMotionBackwardsGetNewTrack(TrackElemType trackType, con // Loc6DBC3B: TrackLocation = trackPos; - if (TrackSubposition >= VehicleTrackSubposition::ChairliftGoingOut - && TrackSubposition <= VehicleTrackSubposition::ChairliftStartBullwheel) + if (TrackSubposition >= VehicleTrackSubposition::chairliftGoingOut + && TrackSubposition <= VehicleTrackSubposition::chairliftStartBullwheel) { TileCoordsXYZ curLocation{ TrackLocation }; if (curLocation == curRide.chairliftBullwheelLocation[1]) { - TrackSubposition = VehicleTrackSubposition::ChairliftEndBullwheel; + TrackSubposition = VehicleTrackSubposition::chairliftEndBullwheel; } else if (curLocation == curRide.chairliftBullwheelLocation[0]) { - TrackSubposition = VehicleTrackSubposition::ChairliftStartBullwheel; + TrackSubposition = VehicleTrackSubposition::chairliftStartBullwheel; } } @@ -1290,11 +1290,11 @@ static uint8_t modified_speed(TrackElemType trackType, VehicleTrackSubposition t if (trackType == TrackElemType::leftQuarterTurn1Tile) { - speedModifier = (trackSubposition == VehicleTrackSubposition::GoKartsLeftLane) ? HALF_SPEED : THREE_QUARTER_SPEED; + speedModifier = (trackSubposition == VehicleTrackSubposition::goKartsLeftLane) ? HALF_SPEED : THREE_QUARTER_SPEED; } else if (trackType == TrackElemType::rightQuarterTurn1Tile) { - speedModifier = (trackSubposition == VehicleTrackSubposition::GoKartsRightLane) ? HALF_SPEED : THREE_QUARTER_SPEED; + speedModifier = (trackSubposition == VehicleTrackSubposition::goKartsRightLane) ? HALF_SPEED : THREE_QUARTER_SPEED; } switch (speedModifier) diff --git a/src/openrct2/ride/Vehicle.cpp b/src/openrct2/ride/Vehicle.cpp index a4eaecffe3..e98b8a1547 100644 --- a/src/openrct2/ride/Vehicle.cpp +++ b/src/openrct2/ride/Vehicle.cpp @@ -123,35 +123,35 @@ static bool vehicle_move_info_valid( int32_t size = 0; switch (trackSubposition) { - case VehicleTrackSubposition::Default: + case VehicleTrackSubposition::standard: size = VehicleTrackSubpositionSizeDefault; break; - case VehicleTrackSubposition::ChairliftGoingOut: + case VehicleTrackSubposition::chairliftGoingOut: size = 692; break; - case VehicleTrackSubposition::ChairliftGoingBack: - case VehicleTrackSubposition::ChairliftEndBullwheel: - case VehicleTrackSubposition::ChairliftStartBullwheel: + case VehicleTrackSubposition::chairliftGoingBack: + case VehicleTrackSubposition::chairliftEndBullwheel: + case VehicleTrackSubposition::chairliftStartBullwheel: size = 404; break; - case VehicleTrackSubposition::GoKartsLeftLane: - case VehicleTrackSubposition::GoKartsRightLane: + case VehicleTrackSubposition::goKartsLeftLane: + case VehicleTrackSubposition::goKartsRightLane: size = 1204; break; - case VehicleTrackSubposition::GoKartsMovingToRightLane: - case VehicleTrackSubposition::GoKartsMovingToLeftLane: + case VehicleTrackSubposition::goKartsMovingToRightLane: + case VehicleTrackSubposition::goKartsMovingToLeftLane: size = 568; break; - case VehicleTrackSubposition::MiniGolfPathA9: // VehicleTrackSubposition::MiniGolfStart9 - case VehicleTrackSubposition::MiniGolfBallPathA10: - case VehicleTrackSubposition::MiniGolfPathB11: - case VehicleTrackSubposition::MiniGolfBallPathB12: - case VehicleTrackSubposition::MiniGolfPathC13: - case VehicleTrackSubposition::MiniGolfBallPathC14: + case VehicleTrackSubposition::miniGolfPathA9: // VehicleTrackSubposition::miniGolfStart9 + case VehicleTrackSubposition::miniGolfBallPathA10: + case VehicleTrackSubposition::miniGolfPathB11: + case VehicleTrackSubposition::miniGolfBallPathB12: + case VehicleTrackSubposition::miniGolfPathC13: + case VehicleTrackSubposition::miniGolfBallPathC14: size = 824; break; - case VehicleTrackSubposition::ReverserRCFrontBogie: - case VehicleTrackSubposition::ReverserRCRearBogie: + case VehicleTrackSubposition::reverserRCFrontBogie: + case VehicleTrackSubposition::reverserRCRearBogie: size = 868; break; default: diff --git a/src/openrct2/ride/VehicleSubpositionData.cpp b/src/openrct2/ride/VehicleSubpositionData.cpp index 71e886686b..1230884a5c 100644 --- a/src/openrct2/ride/VehicleSubpositionData.cpp +++ b/src/openrct2/ride/VehicleSubpositionData.cpp @@ -42060,24 +42060,24 @@ static constexpr const VehicleInfoList *TrackVehicleInfoListReverserRCRearBogie[ }; // rct2: 0x008B8F30 -constexpr const VehicleInfoList * const * gTrackVehicleInfo[EnumValue(VehicleTrackSubposition::Count)] = { - TrackVehicleInfoListDefault, // VehicleTrackSubposition::Default - TrackVehicleInfoListChairliftGoingOut, // VehicleTrackSubposition::ChairliftGoingOut - TrackVehicleInfoListChairliftGoingBack, // VehicleTrackSubposition::ChairliftGoingBack - TrackVehicleInfoListChairliftEndBullwheel, // VehicleTrackSubposition::ChairliftEndBullwheel - TrackVehicleInfoListChairliftStartBullwheel, // VehicleTrackSubposition::ChairliftStartBullwheel - TrackVehicleInfoListGoKartsLeftLane, // VehicleTrackSubposition::GoKartsLeftLane - TrackVehicleInfoListGoKartsRightLane, // VehicleTrackSubposition::GoKartsRightLane - TrackVehicleInfoListGoKartsMovingToRightLane, // VehicleTrackSubposition::GoKartsMovingToRightLane - TrackVehicleInfoListGoKartsMovingToLeftLane, // VehicleTrackSubposition::GoKartsMovingToLeftLane - TrackVehicleInfoListMiniGolfStartPathA9, // VehicleTrackSubposition::MiniGolfStart9, VehicleTrackSubposition::MiniGolfPathA9 - TrackVehicleInfoListMiniGolfBallPathA10, // VehicleTrackSubposition::MiniGolfBallPathA10 - TrackVehicleInfoListMiniGolfPathB11, // VehicleTrackSubposition::MiniGolfPathB11 - TrackVehicleInfoListMiniGolfBallPathB12, // VehicleTrackSubposition::MiniGolfBallPathB12 - TrackVehicleInfoListMiniGolfPathC13, // VehicleTrackSubposition::MiniGolfPathC13 - TrackVehicleInfoListMiniGolfPathC14, // VehicleTrackSubposition::MiniGolfBallPathC14 - TrackVehicleInfoListReverserRCFrontBogie, // VehicleTrackSubposition::ReverserRCFrontBogie - TrackVehicleInfoListReverserRCRearBogie, // VehicleTrackSubposition::ReverserRCRearBogie +constexpr const VehicleInfoList * const * gTrackVehicleInfo[EnumValue(VehicleTrackSubposition::count)] = { + TrackVehicleInfoListDefault, // VehicleTrackSubposition::standard + TrackVehicleInfoListChairliftGoingOut, // VehicleTrackSubposition::chairliftGoingOut + TrackVehicleInfoListChairliftGoingBack, // VehicleTrackSubposition::chairliftGoingBack + TrackVehicleInfoListChairliftEndBullwheel, // VehicleTrackSubposition::chairliftEndBullwheel + TrackVehicleInfoListChairliftStartBullwheel, // VehicleTrackSubposition::chairliftStartBullwheel + TrackVehicleInfoListGoKartsLeftLane, // VehicleTrackSubposition::goKartsLeftLane + TrackVehicleInfoListGoKartsRightLane, // VehicleTrackSubposition::goKartsRightLane + TrackVehicleInfoListGoKartsMovingToRightLane, // VehicleTrackSubposition::goKartsMovingToRightLane + TrackVehicleInfoListGoKartsMovingToLeftLane, // VehicleTrackSubposition::goKartsMovingToLeftLane + TrackVehicleInfoListMiniGolfStartPathA9, // VehicleTrackSubposition::miniGolfStart9, VehicleTrackSubposition::miniGolfPathA9 + TrackVehicleInfoListMiniGolfBallPathA10, // VehicleTrackSubposition::miniGolfBallPathA10 + TrackVehicleInfoListMiniGolfPathB11, // VehicleTrackSubposition::miniGolfPathB11 + TrackVehicleInfoListMiniGolfBallPathB12, // VehicleTrackSubposition::miniGolfBallPathB12 + TrackVehicleInfoListMiniGolfPathC13, // VehicleTrackSubposition::miniGolfPathC13 + TrackVehicleInfoListMiniGolfPathC14, // VehicleTrackSubposition::miniGolfBallPathC14 + TrackVehicleInfoListReverserRCFrontBogie, // VehicleTrackSubposition::reverserRCFrontBogie + TrackVehicleInfoListReverserRCRearBogie, // VehicleTrackSubposition::reverserRCRearBogie }; // clang-format on diff --git a/src/openrct2/ride/VehicleSubpositionData.h b/src/openrct2/ride/VehicleSubpositionData.h index 01324d366f..9921b2548a 100644 --- a/src/openrct2/ride/VehicleSubpositionData.h +++ b/src/openrct2/ride/VehicleSubpositionData.h @@ -23,28 +23,28 @@ struct VehicleInfo; enum class VehicleTrackSubposition : uint8_t { - Default, + standard, // Going out means "moving away from the start". Viewed from Station 1, this is the left hand side of the track. - ChairliftGoingOut, - ChairliftGoingBack, + chairliftGoingOut, + chairliftGoingBack, // End and start bullwheel as viewed from Station 1. - ChairliftEndBullwheel, - ChairliftStartBullwheel, - GoKartsLeftLane, - GoKartsRightLane, - GoKartsMovingToRightLane, - GoKartsMovingToLeftLane, - MiniGolfStart9 = 9, - MiniGolfPathA9 = 9, - MiniGolfBallPathA10, - MiniGolfPathB11, - MiniGolfBallPathB12, - MiniGolfPathC13, - MiniGolfBallPathC14, - ReverserRCFrontBogie, - ReverserRCRearBogie, + chairliftEndBullwheel, + chairliftStartBullwheel, + goKartsLeftLane, + goKartsRightLane, + goKartsMovingToRightLane, + goKartsMovingToLeftLane, + miniGolfStart9 = 9, + miniGolfPathA9 = 9, + miniGolfBallPathA10, + miniGolfPathB11, + miniGolfBallPathB12, + miniGolfPathC13, + miniGolfBallPathC14, + reverserRCFrontBogie, + reverserRCRearBogie, - Count, + count, }; struct VehicleInfoList @@ -53,4 +53,4 @@ struct VehicleInfoList const VehicleInfo* info; }; -extern const VehicleInfoList* const* const gTrackVehicleInfo[EnumValue(VehicleTrackSubposition::Count)]; +extern const VehicleInfoList* const* const gTrackVehicleInfo[EnumValue(VehicleTrackSubposition::count)];