Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ setRouting
Function
setRouting
src/OpenLoco/src/Vehicles/RoutingManager.cpp:49–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
49
void setRouting(const RoutingHandle handle, uint16_t routing)
50
{
51
routings()[handle.getVehicleRef()][handle.getIndex()] = routing;
52
}
53
54
void freeRouting(const RoutingHandle handle)
55
{
Callers
10
roadResetHead
Function · 0.85
sub_4AD778
Method · 0.85
sub_47DA8D
Function · 0.85
sub_4ACEF1
Function · 0.85
sub_4AD93A
Method · 0.85
sub_4ADB47
Method · 0.85
applyOvertakeToVehicle1
Function · 0.85
applyChangeLaneToVehicle1
Function · 0.85
placeDownVehicle
Function · 0.85
freeRouting
Function · 0.85
Calls
2
getVehicleRef
Method · 0.80
getIndex
Method · 0.45
Tested by
no test coverage detected