Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.cpp
File · 0.85
onMouseUp
Function · 0.85
tooltip
Function · 0.85
setTrackTypeTabs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected