Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getTrackLoc
Method
getTrackLoc
src/OpenLoco/src/Vehicles/Vehicle.cpp:81–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
World::Pos3 VehicleBase::getTrackLoc() const
82
{
83
return World::Pos3(tileX, tileY, tileBaseZ * World::kSmallZStep);
84
}
85
86
TrackAndDirection VehicleBase::getTrackAndDirection() const
87
{
Callers
3
findOccupationByBlock
Function · 0.80
vehiclePickupWater
Function · 0.80
sellVehicle
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected