Age | Commit message (Collapse) | Author |
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
when they are not supposed to, and truncate cargo appropiately if they are allowed to.
|
|
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
|
|
improved loading) instead of calculating if for every cycle
|
|
CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
|
|
|
|
Eagle_rainbow)
|
|
|
|
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
|
|
in a chain (i.e. primary vehicle or free wagon).
|
|
autoreplace for an engine type.
|
|
old. (Vikthor)
|
|
current capacity of a vehicle.
|
|
|
|
capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing
|
|
|
|
check all articulated parts of a vehicle to find a shared cargo subtype.
|
|
station when the vehicle allows it.
|
|
|
|
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.
|