1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

Rename public interface config data members

This commit is contained in:
Hielke Morsink
2022-10-16 17:47:17 +02:00
parent abac080d3e
commit f605b02630
13 changed files with 102 additions and 103 deletions

View File

@@ -269,7 +269,7 @@ public:
widgets[WIDX_FILTER_TEXT_BOX].string = _filter_string;
_filter_flags = gConfigInterface.object_selection_filter_flags;
_filter_flags = gConfigInterface.ObjectSelectionFilterFlags;
std::fill_n(_filter_string, sizeof(_filter_string), 0x00);
WindowInitScrollWidgets(*this);
@@ -367,7 +367,7 @@ public:
break;
case WIDX_FILTER_RIDE_TAB_ALL:
_filter_flags |= FILTER_RIDES;
gConfigInterface.object_selection_filter_flags = _filter_flags;
gConfigInterface.ObjectSelectionFilterFlags = _filter_flags;
config_save_default();
FilterUpdateCounts();
@@ -385,7 +385,7 @@ public:
case WIDX_FILTER_RIDE_TAB_STALL:
_filter_flags &= ~FILTER_RIDES;
_filter_flags |= (1 << (widgetIndex - WIDX_FILTER_RIDE_TAB_TRANSPORT + _numSourceGameItems));
gConfigInterface.object_selection_filter_flags = _filter_flags;
gConfigInterface.ObjectSelectionFilterFlags = _filter_flags;
config_save_default();
FilterUpdateCounts();
@@ -546,7 +546,7 @@ public:
{
_filter_flags ^= (1 << dropdownIndex);
}
gConfigInterface.object_selection_filter_flags = _filter_flags;
gConfigInterface.ObjectSelectionFilterFlags = _filter_flags;
config_save_default();
FilterUpdateCounts();