Age | Commit message (Collapse) | Author |
|
state while being marked const.
-Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
Matthias Wolf.
|
|
|
|
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
|
issues. Thanks to benc for providing the patch.
|
|
money64, which is now renamed to player_money.
|
|
easily modified.
|
|
|
|
carry the wagons the old one carries (GRF restrictoin), then don't try to replace at all
|
|
sometimes add the new vehicle twice to the engine (EngineID, not total count) count in the group
|
|
of money and generate an error (spotted by elmex and UndernotBuilder)
This happened if the new engine was a dualheaded engine and there was money to replace and refit the front, but not the rear
It also adds the cost of refitting the rear end of dualheaded engines to the cost animations (display only)
|
|
dualheaded engines in a train (usually to the rear)
-Change: moving an engine in between the two ends of a dualheaded engine will now move the rear dualheaded engine to the front of the newly added engine (instead of moving the new engine to the rear of the rear dualheaded engine)
This can make a difference if there are wagons in the train
|
|
Replacing a unit in a train will now remove the old unit before adding the new one. This will solve issues when max train length has been reached
|
|
many causing asserts.
|
|
delete or autoreplace of vehicles.
|
|
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
|
|
v->dest_tile is now copied when replacing the front engine
|
|
cargo type
|
|
|
|
autoreplace has a cmd and a gui file)
|