From the engines point of view, trams and busses are the same (they only differ in engine_type->misc_flag where bit 0 is set if it's a tram, like in ttdpatch). Roads/roads with tram rails/lightrails are handled like normal roads, too. The only problem I found so far is, that trams are still able to overtake busses *lol* Shouldn't be that hard to disable this behavior, so only busses (better to say, non-tram road vehicles) will be able to overtook other busses or trams.How will you prevent crashes between trams and buses? Having signals all over the track will look bad and be quite annoying... Is it possible to let busses and trams just take care on each other, like it is in reallife when busses and trams are on the same track?
Yes, the poles look ugly most of the time. And I would really prefer to disable drawing them when there are houses next to them. But (apart from the problem I'm still trying to understand how to draw the wires over the vehicles but not over the houses *lol*) to stay compatible with tramset grfs from (and for) ttdpatch, I can't just draw the wires, because their sprites are divided in front wires (with some sprites containing poles) and backpoles.As in cities with tramroads all catanery is fixed on the buildings walls they passes, there are only a few poles when there is needet. So I think it would be better the poles would disappear when buildings are near the tramroad.
I began thinking about another solution for this optical issue. How about providing a grf where there are only poles at curves and junctions? Than we wouldn't have such an optical overhead.
You mean normal trains? Or articulated trams? (Articulated trams would be nice, but first all the tram stuff should work)Now, if we could just get mainline trains running on them...
After I cleaned up the code a bit (combining functions again I split up for tram/road issues, realizing that a simple "bool tram" would have been better *lol*) I'll post a new diff and the needed grf. But it isn't playable, yet. (No working tram stations, bridges, tunnels, ...)Do we have some diff for this?
Some minutes ago, I got busses and trams to decide correctly whether to enter a depot (normal road vehicles entering only road depot, trams only tram depots), but they still can be build in both depots.