Age | Commit message (Collapse) | Author |
|
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
|
|
others to scroll to that location.
|
|
remaining to fit with the naming style
|
|
style
|
|
unneeded define
|
|
with the coding style
|
|
last seen while been center-followed
|
|
it needs the cargo types to be the same.
|
|
sub-cargotypes (i.e. livery refits) failed.
|