Commit Graph

19 Commits (dfe851e02f21c002607ddd9bdf12f145a5ed070c)

Author SHA1 Message Date
rubidium 13692798e6 (svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf. 17 years ago
peter1138 3878c55f34 (svn r10314) -Codechange: Refer to vehicle names by index 17 years ago
rubidium fc201d4ad8 (svn r10266) -Codechange: keep track of the origin, time of travel and 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. 17 years ago
rubidium 0d8e82b7d7 (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. 17 years ago
rubidium 7dda2d93da (svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money. 17 years ago
rubidium 773a7c9cb6 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 17 years ago
rubidium 3ccc83e640 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 17 years ago
bjarni 1026c865fd (svn r10039) -Fix: [autoreplace] when trying to replace an engine that can't carry the wagons the old one carries (GRF restrictoin), then don't try to replace at all 17 years ago
bjarni eecf582cc4 (svn r9982) -Fix (r9874): autoreplacing vehicles from a group could sometimes add the new vehicle twice to the engine (EngineID, not total count) count in the group 17 years ago
bjarni 6ce4211ad5 (svn r9981) -Fix: fixed a rare event that could cause autoreplace to run out 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)
17 years ago
bjarni bcb668c2ff (svn r9967) -Fix (r9938): autoreplace would in certain conditions move 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
17 years ago
bjarni 3963b48f17 (svn r9938) -Fix [FS#799]: 100 wagons train + replace engine
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
17 years ago
rubidium 6ef7915e6e (svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too many causing asserts. 17 years ago
rubidium 86bb5cc2a6 (svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles. 17 years ago
rubidium 8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 17 years ago
bjarni 5eb076402f (svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplace
v->dest_tile is now copied when replacing the front engine
17 years ago
bjarni 809888fa21 (svn r9688) -Codechange: Created a function to get default cargo type for a cargo type 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
bjarni b6efe5482d (svn r9073) -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file) 18 years ago