mirror of https://github.com/OpenRCT2/OpenRCT2.git
Rename Peep::photo4_ride_ref to use TitleCase
This commit is contained in:
parent
ccd76f8fc4
commit
df87daaa6e
|
@ -2025,7 +2025,7 @@ static rct_string_id window_guest_inventory_format_item(Peep* peep, int32_t item
|
|||
ride->FormatNameTo(gCommonFormatArgs + 6);
|
||||
break;
|
||||
case SHOP_ITEM_PHOTO4:
|
||||
ride = get_ride(peep->photo4_ride_ref);
|
||||
ride = get_ride(peep->Photo4RideRef);
|
||||
if (ride != nullptr)
|
||||
ride->FormatNameTo(gCommonFormatArgs + 6);
|
||||
break;
|
||||
|
|
|
@ -249,7 +249,7 @@ struct GameStateSnapshots final : public IGameStateSnapshots
|
|||
COMPARE_FIELD(Peep, item_extra_flags);
|
||||
COMPARE_FIELD(Peep, photo2_ride_ref);
|
||||
COMPARE_FIELD(Peep, photo3_ride_ref);
|
||||
COMPARE_FIELD(Peep, photo4_ride_ref);
|
||||
COMPARE_FIELD(Peep, Photo4RideRef);
|
||||
COMPARE_FIELD(Peep, CurrentRide);
|
||||
COMPARE_FIELD(Peep, CurrentRideStation);
|
||||
COMPARE_FIELD(Peep, CurrentTrain);
|
||||
|
|
|
@ -208,7 +208,7 @@ private:
|
|||
}
|
||||
if (peep->item_extra_flags & PEEP_ITEM_PHOTO4)
|
||||
{
|
||||
if (peep->photo4_ride_ref == _rideIndex)
|
||||
if (peep->Photo4RideRef == _rideIndex)
|
||||
{
|
||||
peep->item_extra_flags &= ~PEEP_ITEM_PHOTO4;
|
||||
}
|
||||
|
|
|
@ -1679,7 +1679,7 @@ loc_69B221:
|
|||
photo3_ride_ref = ride->id;
|
||||
|
||||
if (shopItem == SHOP_ITEM_PHOTO4)
|
||||
photo4_ride_ref = ride->id;
|
||||
Photo4RideRef = ride->id;
|
||||
|
||||
window_invalidate_flags |= PEEP_INVALIDATE_PEEP_INVENTORY;
|
||||
UpdateSpriteType();
|
||||
|
|
|
@ -634,7 +634,7 @@ struct Peep : SpriteBase
|
|||
uint32_t item_extra_flags;
|
||||
uint8_t photo2_ride_ref;
|
||||
uint8_t photo3_ride_ref;
|
||||
uint8_t photo4_ride_ref;
|
||||
uint8_t Photo4RideRef;
|
||||
uint8_t CurrentRide;
|
||||
StationIndex CurrentRideStation;
|
||||
uint8_t CurrentTrain;
|
||||
|
|
|
@ -1171,7 +1171,7 @@ void S6Exporter::ExportSpritePeep(RCT2SpritePeep* dst, const Peep* src)
|
|||
dst->item_extra_flags = src->item_extra_flags;
|
||||
dst->photo2_ride_ref = src->photo2_ride_ref;
|
||||
dst->photo3_ride_ref = src->photo3_ride_ref;
|
||||
dst->photo4_ride_ref = src->photo4_ride_ref;
|
||||
dst->photo4_ride_ref = src->Photo4RideRef;
|
||||
dst->current_ride = src->CurrentRide;
|
||||
dst->current_ride_station = src->CurrentRideStation;
|
||||
dst->current_train = src->CurrentTrain;
|
||||
|
|
|
@ -1436,7 +1436,7 @@ public:
|
|||
dst->item_extra_flags = src->item_extra_flags;
|
||||
dst->photo2_ride_ref = src->photo2_ride_ref;
|
||||
dst->photo3_ride_ref = src->photo3_ride_ref;
|
||||
dst->photo4_ride_ref = src->photo4_ride_ref;
|
||||
dst->Photo4RideRef = src->photo4_ride_ref;
|
||||
dst->CurrentRide = src->current_ride;
|
||||
dst->CurrentRideStation = src->current_ride_station;
|
||||
dst->CurrentTrain = src->current_train;
|
||||
|
|
|
@ -193,7 +193,7 @@ static void CompareSpriteDataPeep(const Peep& left, const Peep& right)
|
|||
COMPARE_FIELD(item_extra_flags);
|
||||
COMPARE_FIELD(photo2_ride_ref);
|
||||
COMPARE_FIELD(photo3_ride_ref);
|
||||
COMPARE_FIELD(photo4_ride_ref);
|
||||
COMPARE_FIELD(Photo4RideRef);
|
||||
COMPARE_FIELD(CurrentRide);
|
||||
COMPARE_FIELD(CurrentRideStation);
|
||||
COMPARE_FIELD(CurrentTrain);
|
||||
|
|
Loading…
Reference in New Issue