Age | Commit message (Collapse) | Author |
|
autoreplace/renew fails due to the engine type being no longer available.
|
|
|
|
replacement when wagon removal was turned on
|
|
it doesn't recompile everything that needs to be recompiled...
|
|
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
|
|
don't collide with globabl functions
|
|
road vehicles and trains.
|
|
|
|
some headers
|
|
the new chain, if to-be-sold-engines would become front-engines and the unitnumber limit would be exceeded.
|
|
to increase the vehicle pool limit
|
|
increase the vehicle pool limit
|
|
|
|
autoreplace_cmd.cpp.
|
|
divisions with rounding.
|
|
|
|
their first use.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|