diff --git a/src/openrct2-ui/windows/GuestList.cpp b/src/openrct2-ui/windows/GuestList.cpp index f6402228bb..49a8877f33 100644 --- a/src/openrct2-ui/windows/GuestList.cpp +++ b/src/openrct2-ui/windows/GuestList.cpp @@ -187,7 +187,7 @@ namespace OpenRCT2::Ui::Windows switch (type) { - case GuestListFilterType::GuestsOnRide: + case GuestListFilterType::guestsOnRide: { auto guestRide = GetRide(RideId::FromUnderlying(index)); if (guestRide != nullptr) @@ -203,7 +203,7 @@ namespace OpenRCT2::Ui::Windows } break; } - case GuestListFilterType::GuestsInQueue: + case GuestListFilterType::guestsInQueue: { auto guestRide = GetRide(RideId::FromUnderlying(index)); if (guestRide != nullptr) @@ -218,7 +218,7 @@ namespace OpenRCT2::Ui::Windows } break; } - case GuestListFilterType::GuestsThinkingAboutRide: + case GuestListFilterType::guestsThinkingAboutRide: { auto guestRide = GetRide(RideId::FromUnderlying(index)); if (guestRide != nullptr) @@ -233,7 +233,7 @@ namespace OpenRCT2::Ui::Windows } break; } - case GuestListFilterType::GuestsThinkingX: + case GuestListFilterType::guestsThinkingX: { ft.Add(kPeepThoughtIds[index & 0xFF]); diff --git a/src/openrct2-ui/windows/Ride.cpp b/src/openrct2-ui/windows/Ride.cpp index 6ea613c2cb..5dd15132dc 100644 --- a/src/openrct2-ui/windows/Ride.cpp +++ b/src/openrct2-ui/windows/Ride.cpp @@ -6741,7 +6741,7 @@ namespace OpenRCT2::Ui::Windows { auto intent = Intent(WindowClass::GuestList); intent.PutExtra( - INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::GuestsThinkingAboutRide)); + INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::guestsThinkingAboutRide)); intent.PutExtra(INTENT_EXTRA_RIDE_ID, number); ContextOpenIntent(&intent); break; @@ -6749,7 +6749,7 @@ namespace OpenRCT2::Ui::Windows case WIDX_SHOW_GUESTS_ON_RIDE: { auto intent = Intent(WindowClass::GuestList); - intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::GuestsOnRide)); + intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::guestsOnRide)); intent.PutExtra(INTENT_EXTRA_RIDE_ID, number); ContextOpenIntent(&intent); break; @@ -6757,7 +6757,7 @@ namespace OpenRCT2::Ui::Windows case WIDX_SHOW_GUESTS_QUEUING: { auto intent = Intent(WindowClass::GuestList); - intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::GuestsInQueue)); + intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::guestsInQueue)); intent.PutExtra(INTENT_EXTRA_RIDE_ID, number); ContextOpenIntent(&intent); break; diff --git a/src/openrct2/interface/Window.h b/src/openrct2/interface/Window.h index 54349f3b5a..486aca550b 100644 --- a/src/openrct2/interface/Window.h +++ b/src/openrct2/interface/Window.h @@ -248,10 +248,10 @@ enum class CloseWindowModifier : uint8_t enum class GuestListFilterType : int32_t { - GuestsOnRide, - GuestsInQueue, - GuestsThinkingAboutRide, - GuestsThinkingX, + guestsOnRide, + guestsInQueue, + guestsThinkingAboutRide, + guestsThinkingX, }; enum class Tool diff --git a/src/openrct2/management/NewsItem.cpp b/src/openrct2/management/NewsItem.cpp index a744a64d8e..f7c21dd824 100644 --- a/src/openrct2/management/NewsItem.cpp +++ b/src/openrct2/management/NewsItem.cpp @@ -413,7 +413,7 @@ void News::OpenSubject(News::ItemType type, int32_t subject) case News::ItemType::Peeps: { auto intent = Intent(WindowClass::GuestList); - intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::GuestsThinkingX)); + intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast(GuestListFilterType::guestsThinkingX)); intent.PutExtra(INTENT_EXTRA_RIDE_ID, subject); ContextOpenIntent(&intent); break;