Because of the difference in CB 11 support between TTDP and OTTD for RVs, I had to select the platform for LV5. I selected OTTD because it allows to have more RVs types at once.
Now I have to decide the main question about Vehicle code - articulated vehicles code.
OTTD supposes the max size for a single RV part equal to half a square, while LVs are usually twice as large. So, I can provide one of the following solutions (I'd like to know - what one would users prefer):
1) Two parts code.
Pro:
Less problems with tunnels, slopes, bridges.
Contra:
Doubles amount of sprites, parts fit in TTD scale, but vehicles magically bend in curves, shift on hills. 2) Singe body code
Pro:
Normal amount of sprites, single body on hills and in curves.
Contra:
Glitches in tunnels and slopes. 3) Combined code
Pro:
Single body in curves, less problems with tunnels, slopes, bridges.
Contra:
Three more sprites, shift on hills.
4) Front part code
Pro:
Single body in curves
Contra:
11/8 more sprites, slope problem on curves after hills, jump on curves after hills, bridge overflow, tunnel overflow
test GRF is here https://www.tt-forums.net/download/file.php?id=104453