Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ openByType
Function
openByType
src/OpenLoco/src/Ui/Windows/BuildVehicle.cpp:452–455 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
450
}
451
452
Window* openByType(VehicleType vehicleType)
453
{
454
return open(enumValue(vehicleType), true);
455
}
456
457
Window* openByVehicleObjectId(uint16_t vehicleObjectId)
458
{
Callers
3
buildVehiclesMenuDropdown
Function · 0.85
openByVehicleObjectId
Function · 0.85
buildNewVehicles
Function · 0.85
Calls
2
enumValue
Function · 0.85
open
Function · 0.70
Tested by
no test coverage detected