summaryrefslogtreecommitdiff
path: root/src/ground_vehicle.hpp
AgeCommit message (Collapse)Author
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2014-09-21(svn r26888) -Codechange: use ints for some z-levels of vehicles (ic111)rubidium
2014-07-22(svn r26702) -Fix [FS#6067]: integer overflows in acceleration code causing ↵rubidium
either too low acceleration or too large acceleration
2012-09-21(svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant.alberth
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 r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2012-01-02(svn r23714) -Codechange: don't mix Viewport with non-viewport codetruebrain
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-12-16(svn r23540) -Codechange: unify and document vehicle widgetsrubidium
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
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-05-18(svn r22473) -Codechange: Automatic orders are better called implicit orders ↵planetmaker
as no real order influencing path finding is added
2011-04-16(svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal ↵frosch
of automatic orders until the next real order is reached.
2011-03-05(svn r22205) -Codechange: replace magic number with constantrubidium
2011-02-05(svn r21989) -Fix (r21954): Vehicle status bar glitches on speed changes.frosch
2011-02-04(svn r21954) -Cleanup: remove setting to not show the vehicle speed in the ↵rubidium
vehicle view
2011-01-29(svn r21922) -Codechange: Unify articulated vehicle checking functions.terkhen
2011-01-29(svn r21921) -Codechange: Move GroundVehicleSubtypeFlags as they will be ↵terkhen
needed by some Vehicle functions.
2011-01-26(svn r21916) -Fix [FS#4442]: the minimum speed needed for (realistic) ↵rubidium
acceleration to work properly can sometimes be more than the (temporary) maximum speed causing Clamp to "fail". Make sure that the minimum speed always overrules the maximum speed
2011-01-26(svn r21914) -Codechange: move the algorithmic part of Train::UpdateSpeed to ↵rubidium
a function in GroundVehicle
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 r21882) -Codechange: make use of the fact that vehicle's Z position can ↵smatz
change only if it has GVF_GOINGUP_BIT or GVF_GOINGDOWN_BIT set
2011-01-21(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashessmatz
2011-01-21(svn r21878) -Codechange: move parts of UpdateInclination() to separate ↵smatz
functions
2011-01-21(svn r21877) -Codechange: move definition of HALF_TILE_SIZE to tile_type.hsmatz
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-16(svn r21824) -Codechange: don't call GetSlopeZ() when the ground vehicle is ↵smatz
on a flat tile
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-14(svn r21520) -Document: Complete the comments of GroundVehicleCache.terkhen
2010-12-14(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.terkhen
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-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-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 r19340) -Documentation: Add a list of required functions to GroundVehicle.terkhen
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