summaryrefslogtreecommitdiff
path: root/src/train.h
AgeCommit message (Collapse)Author
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-11-21(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to ↵michi_cc
depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-02-05(svn r21976) -Doc: Document several crash handling functions.alberth
2011-01-30(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.alberth
2011-01-29(svn r21925) -Doc: Doxygen additions and markup corrections to ↵alberth
vehicle-related functions.
2011-01-29(svn r21923) -Codechange: Unify articulated vehicle iteration functions.terkhen
2011-01-26(svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and ↵rubidium
make SetLastSpeed a function of GroundVehicle
2011-01-21(svn r21883) -Codechange: make UpdateZPosition() faster by not calling ↵smatz
GetSlopeZ() when not needed
2011-01-21(svn r21876) -Codechange: typedef SpecializedVehicleBase and ↵smatz
GroundVehicleBase to reduce typing
2011-01-19(svn r21862) -Codechange: Unify subtype handling between road vehicles and ↵terkhen
trains.
2011-01-19(svn r21859) -Codechange: Move train subtype flags to GroundVehicle.terkhen
2011-01-19(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.terkhen
2011-01-04(svn r21712) -Change: Tune 'realistic' acceleration even more to make more ↵michi_cc
trains reach their top speed.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-13(svn r21504) -Codechange: move the "lost" bit from the train's flags to ↵rubidium
vehicle flags
2010-11-18(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle ↵rubidium
class (Hirundo)
2010-11-18(svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the ↵rubidium
VehicleCache (Hirundo)
2010-11-07(svn r21106) -Change: Tuned realistic acceleration to be a bit more ↵michi_cc
realistic in order to make acceleration "slower", which highlights the differences between vehicle types more.
2010-11-06(svn r21097) -Codechange: Unify cached max speed for all vehicle types.terkhen
2010-11-06(svn r21092) -Codechange: Merge max speed functions.terkhen
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-08-15(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing ↵frosch
railtype.
2010-08-15(svn r20504) -Codechange: Move updating of train's visual effect to separate ↵frosch
function.
2010-08-15(svn r20503) -Fix (r18838): Powered wagons should check the railtype of the ↵frosch
tile they are on, not where the engine is on.
2010-08-02(svn r20302) -Add: Method for getting the air drag of a ground vehicle.terkhen
2010-08-02(svn r20299) -Add: Make trains and road vehicles use a different area value ↵terkhen
to calculate air drag.
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-06-21(svn r20005) -Codechange: Enumify force_proceed.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 r19337) -Codechange: Create the GroundVehicle class.terkhen
2010-03-06(svn r19336) -Codechange: Move rail speed limit to its own function.terkhen
2010-02-10(svn r19090) -Codechange: some comment coding style fixesrubidium
2010-01-31(svn r18972) -Add: [NewGRF] Per-rail type speed limits.peter1138
2010-01-30(svn r18960) -Codechange: Move acceleration-related values to a separated cache.terkhen
2010-01-28(svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own ↵terkhen
function.
2010-01-17(svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' ↵rubidium
and rail property (Terhken)
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 r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11(svn r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
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-13(svn r18484) -Codechange: simplify the Is(Stopped)InDepot functions for trainsrubidium
2009-12-11(svn r18465) -Codechange: simplify CheckTrainInDepot and remove some ↵rubidium
unneeded wrapper functions