If a vehicle uses curvature vars 0x45 or 0x62, cache the directions of its 4 nearest neighbours, and check them in UpdateViewport along with the vehicle's own direction.
Add vehicle flags to control cached image invalidation Various refactorings