gigajum wrote:i never said i drop it, but until now no one said it is needed much, so i gave it not top priority. I noticed myself during development, it is usefull, if that information how far the loading process is shown on the statusbar.
Yeah, sorry, I didn't express myself that well there. Also, frankly, I thought of this feature, then started coding, and only when it was finished did I run across the improved orders patch. Because it was already done anyway, I decided to post it
gigajum wrote:i suggest you edit that according to the % loading. So that you get shown
"loading 13% of 30%" if you only want to load minimal or exact 30%
That would be useful information when combined with the improved orders patch. Going by the current state of trunk, it would always show 13% of 100%, which seems kinda redundant

I'll look into the improved orders patch sometime soon and see if I can prepare my patch for the improved orders stuff.
gigajum wrote:
I noticed you have 4 times almost the same code in four different functions. It should be better if you create a new function which does that.
I'm not too sure about that. While the code is all very similar, there's quite a few differences between the various vehicle types (roadveh and ships are almost the same, aircraft and trains both are different). Handling all that in one function might make that single function more complex than the 4 pieces of similar code. Also, this piece of code gets called fairly often while a vehicle is in a station, so I'd prefer to keep it "lean and mean" and avoid extra function calls.