forked from rosebudai/OpenRCT2-Web
Change GuestListFilterType members to new codestyle
This commit is contained in:
4 files changed
+12
-12
No files matched your search
@@ -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]);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user