forked from rosebudai/OpenRCT2-Web
Rename members of MiniGolfAnimation
This commit is contained in:
5 files changed
+831
-831
No files matched your search
@@ -135,7 +135,7 @@ namespace OpenRCT2
|
||||
void VehicleVisualMiniGolfBall(
|
||||
PaintSession& session, int32_t x, int32_t imageDirection, int32_t y, int32_t z, const Vehicle* vehicle)
|
||||
{
|
||||
if (vehicle->mini_golf_current_animation != MiniGolfAnimation::PlaceBallDown)
|
||||
if (vehicle->mini_golf_current_animation != MiniGolfAnimation::placeBallDown)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3086,7 +3086,7 @@ static Vehicle* VehicleCreateCar(
|
||||
{
|
||||
subposition = VehicleTrackSubposition::miniGolfStart9;
|
||||
vehicle->var_D3 = 0;
|
||||
vehicle->mini_golf_current_animation = MiniGolfAnimation::Walk;
|
||||
vehicle->mini_golf_current_animation = MiniGolfAnimation::walk;
|
||||
vehicle->miniGolfFlags.clearAll();
|
||||
}
|
||||
if (carEntry.flags.has(CarEntryFlag::isReverserCoasterBogie))
|
||||
|
||||
@@ -356,18 +356,18 @@ void RideUpdateMeasurementsSpecialElements_MiniGolf(Ride& ride, const TrackElemT
|
||||
auto* curPeep = getGameState().entities.TryGetEntity<Guest>(peep[0]);
|
||||
if (curPeep != nullptr)
|
||||
{
|
||||
if (animation == MiniGolfAnimation::SwingLeft)
|
||||
if (animation == MiniGolfAnimation::swingLeft)
|
||||
{
|
||||
if (curPeep->PeepId & 7)
|
||||
{
|
||||
animation = MiniGolfAnimation::Swing;
|
||||
animation = MiniGolfAnimation::swing;
|
||||
}
|
||||
}
|
||||
if (animation == MiniGolfAnimation::PuttLeft)
|
||||
if (animation == MiniGolfAnimation::puttLeft)
|
||||
{
|
||||
if (curPeep->PeepId & 7)
|
||||
{
|
||||
animation = MiniGolfAnimation::Putt;
|
||||
animation = MiniGolfAnimation::putt;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -470,15 +470,15 @@ enum class MiniGolfState : int16_t
|
||||
|
||||
enum class MiniGolfAnimation : uint8_t
|
||||
{
|
||||
Walk,
|
||||
PlaceBallDown,
|
||||
SwingLeft,
|
||||
PickupBall,
|
||||
Jump,
|
||||
PlaceBallUp,
|
||||
PuttLeft,
|
||||
Swing,
|
||||
Putt,
|
||||
walk,
|
||||
placeBallDown,
|
||||
swingLeft,
|
||||
pickupBall,
|
||||
jump,
|
||||
placeBallUp,
|
||||
puttLeft,
|
||||
swing,
|
||||
putt,
|
||||
};
|
||||
|
||||
enum BoatHireSubState : uint8_t
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user