0x0047E50A pos.x : ax pos.y : cx pos.z : dx tad : bp companyId : bl trackType : bh requiredMods : 0x0113601A queryMods : 0x0113601B allowedStationTypes : 0x0112C30C target : see above state : see above
| 5224 | // target : see above |
| 5225 | // state : see above |
| 5226 | static RoutingResult roadTargetedPathing(const World::Pos3 pos, const uint16_t tad, const CompanyId companyId, const uint8_t roadObjectId, const uint8_t requiredMods, const uint8_t queryMods, const uint32_t allowedStationTypes, const Sub4AC94FTarget& target) |
| 5227 | { |
| 5228 | Sub4AC94FState state{}; |
| 5229 | state.result.bestDistToTarget = std::numeric_limits<uint16_t>::max(); |
| 5230 | state.result.bestTrackWeighting = std::numeric_limits<uint32_t>::max(); |
| 5231 | state.result.signalState = RouteSignalState::null; |
| 5232 | roadTargetedPathingRecurse(pos, tad, companyId, roadObjectId, requiredMods, queryMods, allowedStationTypes, target, state); |
| 5233 | return state.result; |
| 5234 | } |
| 5235 | |
| 5236 | constexpr static std::array<uint16_t, 8> k500234 = { |
| 5237 | 10, |
no test coverage detected