Age | Commit message (Collapse) | Author |
|
|
|
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)
|
|
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec
-Codechange: Rationalize the use of Bridge type pointer
|
|
turns are forbidden
|
|
with an OnNewDay method in the Vehicle class
|
|
speed
|
|
|
|
with sound
|
|
constants
-Fix: refit button widget was not correctly updated
|
|
gameload and crossing construction)
-Fix: crossing sound is bound to tile, not to vehicle
|
|
crossing and after loading older savegame
|
|
leaving crossing, train crash
Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
|
|
the code at some places
|
|
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
|
|
more cases
(tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype)
-Fix: do not make crossing red when we can't enter it in any case
|
|
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
|
|
complex detection later
|
|
trackbits behind it
|
|
|
|
dirty when a train crashes
|
|
|
|
part to be consistent with saveload process
|
|
unneeded include from openttd.h.
|