Open Tintinfan opened 2 years ago
KIHA Code
Problem: KiHa types, such as the KiHa 40, 48 and 58 can be coupled in random formations. They are all treated as single units.
Solution: Treat every KiHa as a single car unit regardless.
Allow them to be flipped in the depot. Check if the last vehicle is flipped or not and draw the sprite with the cab facing the back anyway. Check if there is something behind a 2-car unit such as the KiHa 48/58.
Other notes:
TRAIN_FLAG_FLIP is misc_flags to allow flipping in depot.
Main Code:
Todo:
Fix: