Age | Commit message (Collapse) | Author |
|
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.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
wagon in some cases
|
|
|
|
deleted when removing crashed train
|
|
|
|
|
|
long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
|
|
some type safety.
|
|
of a global variable. Patch by Noldo (FS#1114).
|
|
|
|
|
|
single location.
|
|
needed.
|