summaryrefslogtreecommitdiff
path: root/src/ground_vehicle.cpp
AgeCommit message (Collapse)Author
2018-09-30Fix #6920: Make 9.8m/s^2 a common constant for TE-calculationJohannes E. Krause
2018-05-19Fix: Tractive effort was slightly too high as per NewGRF spec. (#6785)PeterN
2014-07-22(svn r26702) -Fix [FS#6067]: integer overflows in acceleration code causing ↵rubidium
either too low acceleration or too large acceleration
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2012-07-07(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave ↵frosch
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-16(svn r23540) -Codechange: unify and document vehicle widgetsrubidium
2011-02-06(svn r21997) -Fix [FS#4473]: when the difference between force and ↵rubidium
resistance is smaller than the mass(*4) there would be no acceleration anymore, even when at higher (or lower) speed the force and resistance balance out better
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 r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.terkhen
2010-11-07(svn r21107) -Fix: Don't use the maximum track speed where the maximum ↵michi_cc
vehicle speed is meant.
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 r21092) -Codechange: Merge max speed functions.terkhen
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-02(svn r20303) -Feature: [NewGRF] Air drag property support for trains and ↵terkhen
road vehicles. Air drag for vehicles with air drag not set or set to zero will use a default value depending on their max speed.
2010-08-02(svn r20299) -Add: Make trains and road vehicles use a different area value ↵terkhen
to calculate air drag.
2010-04-10(svn r19599) -Fix [FS#3751]: Vehicles with a weight of zero crashed the game ↵terkhen
when using realistic acceleration.
2010-03-06(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.terkhen
-Add: Required acceleration functions at RoadVehicle.
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