| 188 | } |
| 189 | |
| 190 | uint16_t VehicleGetMoveInfoSize(VehicleTrackSubposition trackSubposition, TrackElemType type, uint8_t direction) |
| 191 | { |
| 192 | uint16_t typeAndDirection = (EnumValue(type) << 2) | (direction & 3); |
| 193 | |
| 194 | if (!vehicle_move_info_valid(trackSubposition, type, direction, 0)) |
| 195 | { |
| 196 | return 0; |
| 197 | } |
| 198 | return gTrackVehicleInfo[EnumValue(trackSubposition)][typeAndDirection]->size; |
| 199 | } |
| 200 | |
| 201 | uint16_t Vehicle::GetTrackProgress() const |
| 202 | { |
no test coverage detected