Age | Commit message (Collapse) | Author |
|
operators.
|
|
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.
|
|
existing functions.
|
|
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
station_func.h.
|
|
|
|
just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
|
|
|
|
while partially in a depot
|
|
'think' it is whole in a depot
|
|
cached value to ensure the correct max speed is used with disabled real acceleration
|
|
|
|
|
|
other cached values
|
|
_patches.realistic_acceleration changes
|
|
remove -Wno-empty-body from the configure script
|
|
setting flag.
|
|
|
|
vehicles' running cost, and show running cost of wagons if they have it.
|
|
running_cost, inline with other vehicle types (It is the factor, not the base)
|
|
|
|
GetTileTrackStatus().
|
|
train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
|
|
|
(called once or very short)
|
|
owner (patch by Vikthor)
|
|
GetCrossingRailAxis() to improve code readability
|
|
TrainCheckIfLineEnds to simplify the code
|
|
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
|
|
length was limited to 9
|
|
(Yorick)
|
|
with v->PlayLeaveStationSound(), and remove wrapper function.
|
|
to reverse on junction tiles. (spotted by SmatZ)
|