Age | Commit message (Collapse) | Author |
|
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
|
|
|
|
will now also replace wagons even if they aren't connected to a locomotive
fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
|
|
reversing flag when entering depot.
|
|
|
|
Vehicle::NeedsAutorenewing() and added comments
|
|
do not let it leave again
|
|
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
|
|
|
|
|
|
constants
-Fix: refit button widget was not correctly updated
|
|
the code at some places
|
|
the livery colour of the engine instead of their wagon type.
|
|
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
|
complex detection later
|
|
|
|
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.
|
|
|
|
depot
|
|
long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
|
|
of a global variable. Patch by Noldo (FS#1114).
|
|
|
|
when it's not necessary.
|
|
single location.
|
|
needed.
|
|
reloading NewGRFs.
|
|
functions.
|
|
useless includes.
|
|
|
|
map.h).
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
|
|
their respective places.
|
|
|
|
|
|
"rail.h" that includes way more than only "rail_type.h") includes at some places.
|
|
remove useless checks
|
|
|
|
|
|
GetVehicleTunnelBridge
|
|
|
|
order.h too
|
|
cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
|