0x004AC94F pos.x : ax pos.y : cx pos.z : dx tad : bp companyId : bl trackType : bh requiredMods : 0x0113601A queryMods : 0x0113601B target : see above state : see above
| 5855 | // target : see above |
| 5856 | // state : see above |
| 5857 | static RoutingResult trackTargetedPathing(const World::Pos3 pos, const uint16_t tad, const CompanyId companyId, const uint8_t trackType, const uint8_t requiredMods, const uint8_t queryMods, const Sub4AC94FTarget& target) |
| 5858 | { |
| 5859 | Sub4AC94FState state{}; |
| 5860 | state.result.bestDistToTarget = std::numeric_limits<uint16_t>::max(); |
| 5861 | state.result.bestTrackWeighting = std::numeric_limits<uint32_t>::max(); |
| 5862 | state.result.signalState = RouteSignalState::null; |
| 5863 | trackTargetedPathingRecurse(pos, tad, companyId, trackType, requiredMods, queryMods, target, state); |
| 5864 | return state.result; |
| 5865 | } |
| 5866 | |
| 5867 | // 0x004AC6DA |
| 5868 | static bool isTrackRoutingResultBetter(const RoutingResult& base, const RoutingResult& newResult) |
no test coverage detected