summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
AgeCommit message (Collapse)Author
2010-07-09(svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes ↵michi_cc
fail to release its reserved path.
2010-07-04(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the ↵frosch
192-256-magic of vehicle movement.
2010-06-21(svn r20006) -Fix: Trains should also have running cost while slowing down ↵frosch
for stop.
2010-06-21(svn r20005) -Codechange: Enumify force_proceed.frosch
2010-06-16(svn r19992) -Fix [FS#3878]: Clear force_proceed when entering depots and ↵frosch
when loading. -Fix (r18515): Resetting of force_proceed on manual stopping did not work.
2010-06-11(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.terkhen
2010-05-23(svn r19892) -Fix [FS#3856] (r19792): crash when trying to reserve 'in ↵rubidium
depot' track on clearing a crashed train
2010-05-11(svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88)rubidium
2010-05-11(svn r19785) -Codechange: reorder/rework the checks for CheckNextTrainTile a ↵rubidium
bit, causing the whole function to be a few percent faster and hopefully better to understand
2010-05-11(svn r19784) -Fix [FS#3770]: if a waypoint is immediately followed by a path ↵rubidium
signal a reservation would be made from that path signal before the waypoint is marked passed. As a result the order to go to the waypoint is used to reserve the path after the waypoint and as such trains get lost
2010-05-03(svn r19756) -Codechange: move UpdateViewport() from Vehicle to ↵smatz
SpecializedVehicle in order to improve performance
2010-04-23(svn r19699) -Codechange: Use InvalidateData at the refit window.terkhen
2010-04-21(svn r19687) -Fix: desync when joining the game because of using the wrong ↵rubidium
variable
2010-04-13(svn r19621) -Codechange: Remove direct usage of magic 'p1's in build ↵frosch
vehicle commands.
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-03-06(svn r19356) -Fix: Whitespace.frosch
2010-03-06(svn r19342) -Codechange: Move inclination update functions to GroundVehicle.terkhen
2010-03-06(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.terkhen
-Codechange: Move GetSlopeResistance to GroundVehicle.
2010-03-06(svn r19339) -Codechange: Move acceleration functions to GroundVehicle.terkhen
2010-03-06(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.terkhen
2010-03-06(svn r19336) -Codechange: Move rail speed limit to its own function.terkhen
2010-02-28(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to ↵alberth
TunnelBridgeIsFree() and return a CommandCost status.
2010-02-28(svn r19286) -Fix (r18648): [YAPP] If reversing at path signals was ↵michi_cc
disabled, a train would not reverse when hitting the back of an one-way signal.
2010-02-25(svn r19260) -Codechange: another minor coding style fixsmatz
2010-02-25(svn r19257) -Codechange: minor coding style fixsmatz
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-10(svn r19091) -Cleanup: remove some unneeded zeroingrubidium
2010-01-31(svn r18972) -Add: [NewGRF] Per-rail type speed limits.peter1138
2010-01-31(svn r18971) -Fix: Train acceleration for original acceleration model wasn't ↵peter1138
updated if the train's power changed.
2010-01-30(svn r18963) -Codechange: Give AccelerationModel a generical name.terkhen
2010-01-28(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a ↵yexo
train crashes
2010-01-28(svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own ↵terkhen
function.
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-17(svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' ↵rubidium
and rail property (Terhken)
2010-01-17(svn r18848) -Fix (r18838): the original accelaration got brokenrubidium
2010-01-17(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for ↵frosch
monorail and maglev in the waypoint picker.
2010-01-16(svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration ↵rubidium
code plus some minor optimisations (Terkhen)
2010-01-16(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update ↵rubidium
some comments (Terkhen)
2010-01-15(svn r18812) -Codechange: make some functions in train.h functions of Train.rubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided ↵michi_cc
signals when reserving a path as this causes trains to get stuck in front of them.
2010-01-09(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail ↵peter1138
vs maglev) a rail type property
2010-01-09(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal ↵rubidium
wait counter; sometimes they might get into eachother's way
2009-12-31(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains ↵peter1138
from 0% to 10%, default is 3% as before (mostly by Terkhen)
2009-12-28(svn r18653) -Fix [FS#3442]: when trying to attach a wagon to an existing ↵rubidium
free wagon chain, don't attach it to itself
2009-12-27(svn r18647) -Fix: [YAPP] A train inside a station was not always found when ↵michi_cc
checking for trains on a reserved path.
2009-12-25(svn r18628) -Fix [FS#3422]: (un)loading counter being reset while loading a ↵rubidium
train and changing the (path) signal setup around the station