Age | Commit message (Collapse) | Author |
|
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.
|
|
determined at some places
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
|
|
with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
|
|
to use DirDiffs instead of local tables, and remove an unnecessary loop.
|
|
curves
|
|
unintended speed bonuses for curves, as the bonus was based on the railtype index. The bonus is now specified by a property of the railtype.
|
|
NewGRF wagon attach callback. This stopped
the callback working for autoreplace and when moving wagons from train to train in a depot.
-Fix (r11724): Don't check wagon attach callback for the chain when moving a single wagon.
|
|
checking of the NewGRF 'allow wagon attach' callback by moving several wagons at a time.
|
|
functions.
|