summaryrefslogtreecommitdiff
path: root/src/autoreplace_cmd.cpp
AgeCommit message (Collapse)Author
2007-05-29(svn r9981) -Fix: fixed a rare event that could cause autoreplace to run out ↵bjarni
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)
2007-05-28(svn r9967) -Fix (r9938): autoreplace would in certain conditions move ↵bjarni
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
2007-05-26(svn r9938) -Fix [FS#799]: 100 wagons train + replace enginebjarni
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
2007-05-19(svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too ↵rubidium
many causing asserts.
2007-05-19(svn r9878) -Fix (9874): some vehicle count's were not properly updated on ↵rubidium
delete or autoreplace of vehicles.
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-04-29(svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplacebjarni
v->dest_tile is now copied when replacing the front engine
2007-04-20(svn r9688) -Codechange: Created a function to get default cargo type for a ↵bjarni
cargo type
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-03-08(svn r9073) -Codechange: moved autoreplace to a file of it's own (now ↵bjarni
autoreplace has a cmd and a gui file)