Age | Commit message (Collapse) | Author |
|
|
|
a Engine * is already present.
|
|
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
|
|
vehicles, when autoreplacing/renewing them.
|
|
|
|
GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
|
|
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.
|
|
CargoArray instead of a pointer to a static array.
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
CompanySettings struct
|
|
autorenew/replace. Don't bother about trains exceeding the trainlimit, which will be sold anyway.
|
|
|
|
|
|
|
|
(optional) parameter.
|
|
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
|
|
|
|
wagon chains.
|
|
president and company renaming commands, too
|
|
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
|
|
|
|
|
|
Note: Proper indenting in next commit.
|
|
|
|
|
|
autoreplace kernel.
|
|
replacement which CmdSetAutoReplace() did not accept.
|
|
the old vehicle did not carry anything but the new one did.
|
|
vehicles during autoreplace.
|
|
depot (callback 0x11) and give a warning about that
|
|
ran in the context of autoreplace or not
|
|
vehicle_gui.h.
|
|
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
|
pointer to the front vehicle in certain cases
Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not)
|