But it doesn't hurt to find out if the original author is still around.With the author having left 1.5 years ago, probably nobody knows, so why not try it yourself and find out?
I hate to hi-jack someone's hard work.
------
I've downloaded the source, added the patch and compiled it, and...... it didn't work.
In short, openttd still works, the trains just don't adjust their speed.
So I tried fixing some things, but don't seem to get it to work just yet.
However, I've found the probable cause why it isn't working. The patch involves "walking down the path the train is taking" to find a train.
That bit in quotes is the problem, that doesn't work like it should. Adjusting the speed of the train is not a problem.
The original programmer tries to find out the route by himself, without checking with the pathfinder. But I don't think that would be a good idea, that would cost a lot of processor time.
I also know the pathfinder for trains seems to cache train route's for some time, so it is probably a good idea to get the pathfinder involved as well.
So, is there someone that can point me to how I can:
- Request the planned route from the pathfinder
- "walk" along that route to find another train (or do other stuff)
All other needed code is already in the patch and I can tweak that myself. I just don't know how to do this bit.