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

Function widxToTrackTypeTab

src/OpenLoco/src/Ui/Windows/BuildVehicle.cpp:262–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 );
261
262 static constexpr uint32_t widxToTrackTypeTab(WidgetIndex_t widgetIndex)
263 {
264 return widgetIndex - widx::tab_track_type_0;
265 }
266
267 enum class VehicleFilterFlags : uint8_t
268 {

Callers 4

BuildVehicle.cppFile · 0.85
onMouseUpFunction · 0.85
tooltipFunction · 0.85
setTrackTypeTabsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected