Age | Commit message (Collapse) | Author |
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
|
|
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
|
|
using correct types and less duplication.
|
|
TTDP according to frosch's survey.
|
|
|
|
uniform naming of the thing instead of using both names for the same thing.
|
|
keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading.
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
function can be used
|
|
|
|
part anymore, just like is done for road vehicles and ships.
|
|
CmdSend<VehicleType>ToDepot commands.
|
|
|
|
Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
|
|
it more clear that they are no loading/unloading flags. Also add more type strictness.
|
|
|
|
|
|
|
|
'unified' ProcessOrder.
|
|
road vehicles.
|
|
remove an unused variable.
|
|
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
|
|
|
|
GetTileTrackStatus().
|
|
and remove a 'goto'.
|
|
day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
|
switch/case at many places
|
|
(Yorick)
|
|
to reverse on junction tiles. (spotted by SmatZ)
|
|
with an OnNewDay method in the Vehicle class
|
|
|
|
constants
-Fix: refit button widget was not correctly updated
|
|
the code at some places
|
|
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
|
|
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
some type safety.
|
|
of a global variable. Patch by Noldo (FS#1114).
|
|
|
|
|
|
single location.
|
|
needed.
|
|
functions.
|
|
|