MCPcopy 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

roadResetHeadFunction · 0.85
sub_4AD778Method · 0.85
sub_47DA8DFunction · 0.85
sub_4ACEF1Function · 0.85
sub_4AD93AMethod · 0.85
sub_4ADB47Method · 0.85
applyOvertakeToVehicle1Function · 0.85
placeDownVehicleFunction · 0.85
freeRoutingFunction · 0.85

Calls 2

getVehicleRefMethod · 0.80
getIndexMethod · 0.45

Tested by

no test coverage detected