* Checks if a Trackdir is valid for road vehicles. * * @param trackdir The value to check * @return true if the given value is a valid Trackdir * @note Use this in an assert() */
| 38 | * @note Use this in an assert() |
| 39 | */ |
| 40 | inline bool IsValidTrackdirForRoadVehicle(Trackdir trackdir) |
| 41 | { |
| 42 | return trackdir < TRACKDIR_END; |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Checks if a Trackdir is valid for non-road vehicles. |
no outgoing calls
no test coverage detected