MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / roadAimlessWanderPathing

Function roadAimlessWanderPathing

src/OpenLoco/src/Vehicles/VehicleHead.cpp:4865–4870  ·  view source on GitHub ↗

0x0047E481 pos.x : ax pos.y : cx pos.z : dx tad : bp companyId : bl trackType : bh requiredMods : 0x0113601A queryMods : 0x0113601B state : see above

Source from the content-addressed store, hash-verified

4863 // queryMods : 0x0113601B
4864 // state : see above
4865 static uint16_t roadAimlessWanderPathing(const World::Pos3 pos, const uint16_t tad, const CompanyId companyId, const uint8_t roadObjectId, const uint8_t requiredMods, const uint8_t queryMods)
4866 {
4867 Sub4AC884State state{};
4868 roadAimlessWanderPathingRecurse(pos, tad, companyId, roadObjectId, requiredMods, queryMods, state);
4869 return state.unkFlags;
4870 }
4871
4872 // TODO: Move to TrackData
4873 static constexpr std::array<uint8_t, 10> k4F7338Lane0{

Callers 1

roadPathingFunction · 0.85

Calls 1

Tested by

no test coverage detected