1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 02:35:46 +01:00

Replace snakes in Class names OpenRCT2/N*-P* (#19227)

* Replace snakes in Class names OpenRCT2/N*-P*

* Rename PODDate (and TimeOfDay for good measure)

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
This commit is contained in:
Duncan
2023-01-20 05:24:44 +00:00
committed by GitHub
parent e110c631f1
commit 9deed6d98a
45 changed files with 266 additions and 280 deletions

View File

@@ -92,7 +92,7 @@ enum
struct ObjectListItem
{
const ObjectRepositoryItem* repositoryItem;
std::unique_ptr<rct_object_filters> filter;
std::unique_ptr<RideFilters> filter;
uint8_t* flags;
};
@@ -1132,10 +1132,10 @@ private:
if (item->Type == GetSelectedObjectType() && !(selectionFlags & ObjectSelectionFlags::Flag6) && FilterSource(item)
&& FilterString(*item) && FilterChunks(item) && FilterSelected(selectionFlags))
{
auto filter = std::make_unique<rct_object_filters>();
filter->ride.category[0] = 0;
filter->ride.category[1] = 0;
filter->ride.ride_type = 0;
auto filter = std::make_unique<RideFilters>();
filter->category[0] = 0;
filter->category[1] = 0;
filter->ride_type = 0;
ObjectListItem currentListItem;
currentListItem.repositoryItem = item;