Age | Commit message (Collapse) | Author |
|
|
|
uniform naming of the thing instead of using both names for the same thing.
|
|
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
|
|
replacement is needed and if so, to which EngineID
It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle)
|
|
DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost
This allowed cleaning up the code in MaybeReplaceVehicle()
|
|
|
|
okay (or lines starting with a space and then tabs).
|
|
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
|
function can be used
|
|
|
|
|
|
forgotten anymore when autoservice 'interferes'.
|
|
and the load percentage conditional variable is evaluated.
|
|
when trying to get the load percentage.
|
|
|
|
CmdSend<VehicleType>ToDepot commands.
|
|
instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
|
|
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.
|
|
not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere.
|
|
compiler's decisions about inlining
|
|
|
|
|
|
|
|
compilation/testing was flawed.
|
|
|
|
|
|
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
|