Age | Commit message (Collapse) | Author |
|
|
|
wrapper functions
|
|
|
|
if a header require a header make it include that header
|
|
wait counter; sometimes they might get into eachother's way
|
|
on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted
|
|
were not considered for sending to depot for replacement.
|
|
|
|
send vehicles to depot, first check some minimal requirements (engine availability, refittability) and a heuristic for the needed money.
|
|
determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout.
|
|
|
|
counter is updated
|
|
Vehicle::SetNext
|
|
|
|
|
|
|
|
CB15 was in use.
|
|
before the details string.
Gentlemen, swap your string parameters.
|
|
consistent. Now always the cargo class decides.
|
|
|
|
when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
|
a Engine * is already present.
|
|
|
|
|
|
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
|
|
for more consistency and distinguishability.
|
|
vehicles, otherwise it gets distracted and bails out
|
|
|
|
to EngineInfo.
|
|
|
|
|
|
|
|
|
|
|
|
vehicle type specific strings for a specific message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
was destructed. This only happened when you crashed a vehicle while it was unloading.
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
|
|
|
whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
|
|
|
|
in order to improve performance (~5% with many vehicles)
|