Age | Commit message (Collapse) | Author |
|
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)
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
they can head for somewhere else instead of stumbling over a ghost.
|
|
code style.
|
|
'no loading' is off was pointing to the wrong direction.
|
|
instead of constructor of each vehicle type
|
|
received news about new engine
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
const is (accidentally?) removed using C-style casts.
|
|
unnecessarily add it.
|
|
vehicles/stations/industries are deleted.
|
|
messages. Esp. do not close them automatically after some time.
|