Age | Commit message (Collapse) | Author |
|
|
|
|
|
possibly be uninitialised
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
|
|
|
|
a refit if required.
|
|
|
|
|
|
landing
This adds a new flag that gets stored in the savegame, but it should still be compatible both ways, hence no save version bump.
|
|
|
|
|
|
constructor, to make conversions more explicit.
|
|
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.
|