Age | Commit message (Collapse) | Author |
|
whether the vehicle is in a depot or station, and do not ask whether the vehicle currently allows station-refitting. Also hide the refit cost for orders, it is not predictable.
|
|
the return is not NULL)
|
|
"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.
|
|
to a new function, GetDepotVehicleType (cirdan, LordAro)
|
|
|
|
during (un)loading.
|
|
|
|
subtype, also when refitting multiple vehicles.
|
|
CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
|
|
appropriately on creation (peter1138)
|
|
ispercent (peter1138)
|
|
(peter1138)
|
|
vehicles were renamed. (Juanjo)
|
|
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).
|
|
|
|
|
|
nevertheless, if it is already carrying the right thing.
|
|
executing any refit.
|
|
|
|
|
|
|
|
if only the subtype differed.
|
|
|
|
check all articulated parts of a vehicle to find a shared cargo subtype.
|
|
Engine::DetermineCapacity().
|
|
returning D0xx texts.
|
|
vehicles.
|
|
callback as a signed value.
|
|
auto-refitting.
|
|
station when the vehicle allows it.
|
|
old and new cargo type.
|
|
Vehicle to simplify code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it doesn't recompile everything that needs to be recompiled...
|
|
|
|
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
|
|
refitted-capacity, if their cargo matches.
|
|
vehicles to refit to the command. That may exceed 8 bits.
|
|
|
|
|
|
the refit vehicle command.
|
|
|