Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
if a header require a header make it include that header
|
|
masks of articulated vehicles are needed, they can be determined at once.
|
|
reset their cargo sub type to 0. Now find a sub cargo type with the exact same name and use that, otherwise fallback to 0. So cargo sub types can be maintained via autoreplace *if* the new vehicle supports the same cargo sub type.
|
|
|
|
|
|
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.
|