Age | Commit message (Collapse) | Author |
|
CheckCompanyHasMoney() was also executed when not using DC_EXEC,
resulting in an error about shortage of money instead of the
estimation.
This mostly is a problem for AI players, as they will have no
way to know how much it would have cost.
|
|
|
|
Before this fix, any failing clone order was silently ignored
and you as user would never know till you checked the order list.
Evil.
|
|
|
|
caused desyncs.
Use DC_AUTOREPLACE for actions that shall be reversibe, in this case:
- Do not rearrange free wagons in test-run.
- Do not discard OrderBackups.
The latter was not triggered by actual auto-replace, since it does not set a 'user'.
|
|
attached.
|
|
real-run.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|