Change GuestListFilterType members to new codestyle

This commit is contained in:
Gymnasiast committed 2025-03-01 20:12:12 +01:00
1 parent 9982f74cb7
commit cf706ed5f6
4 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -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<StringId>(kPeepThoughtIds[index & 0xFF]);
+3 -3
View File
@@ -6741,7 +6741,7 @@ namespace OpenRCT2::Ui::Windows
{
auto intent = Intent(WindowClass::GuestList);
intent.PutExtra(
INTENT_EXTRA_GUEST_LIST_FILTER, static_cast<int32_t>(GuestListFilterType::GuestsThinkingAboutRide));
INTENT_EXTRA_GUEST_LIST_FILTER, static_cast<int32_t>(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<int32_t>(GuestListFilterType::GuestsOnRide));
intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast<int32_t>(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<int32_t>(GuestListFilterType::GuestsInQueue));
intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast<int32_t>(GuestListFilterType::guestsInQueue));
intent.PutExtra(INTENT_EXTRA_RIDE_ID, number);
ContextOpenIntent(&intent);
break;
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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<int32_t>(GuestListFilterType::GuestsThinkingX));
intent.PutExtra(INTENT_EXTRA_GUEST_LIST_FILTER, static_cast<int32_t>(GuestListFilterType::guestsThinkingX));
intent.PutExtra(INTENT_EXTRA_RIDE_ID, subject);
ContextOpenIntent(&intent);
break;