MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setVehicleTypeAvailable

Function setVehicleTypeAvailable

src/OpenLoco/src/Ui/Windows/StationWindow.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 static void setVehicleTypeAvailable(Window& self, VehicleType vehicleType)
97 {
98 self.var_846 |= (1U << enumValue(vehicleType));
99 }
100
101 // Defined at the bottom of this file.
102 static void onMouseUp(Window& self, WidgetIndex_t widgetIndex, const WidgetId id);

Callers 1

populateVehicleListFunction · 0.85

Calls 1

enumValueFunction · 0.85

Tested by

no test coverage detected