summaryrefslogtreecommitdiff
path: root/src/roadveh.h
AgeCommit message (Collapse)Author
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove Track{dir,}{Bits,}Byte typesCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-08Add: Road vehicle path cache. (#7261)PeterN
2018-05-22Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792)PeterN
The value is either unused or always the same as this->direction.
2016-10-16(svn r27666) -Codechange: Pass vehicle sprites around using a struct ↵frosch
VehicleSpriteSeq.
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2012-12-23(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list ↵michi_cc
sprites. (Based on patch by Eddi)
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-07-07(svn r24381) -Revert (r24380): RoadVehicle::IsInDepot was supposed to behave ↵frosch
different to Train::IsInDepot.
2012-07-07(svn r24380) -Fix [FS#5188]: RoadVehicle::IsInDepot did not check all ↵frosch
articulated parts.
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-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-11-04(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when ↵michi_cc
auto-refitting.
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-02-02(svn r21945) -Codechange: simplify setting the overtaking counter and remove ↵rubidium
the magic from its numbers
2011-02-02(svn r21943) -Codechange: document and unmagicify some bits of road vehicle ↵rubidium
overtaking
2011-01-30(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.alberth
2011-01-26(svn r21915) -Codechange: rename RoadVehicleAccelerate to ↵rubidium
RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
2011-01-26(svn r21912) -Codechange: let road vehicles use ↵rubidium
gcache.last_speed/SetLastSpeed as well
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
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 r21860) -Codechange: Rename road vehicle subtype functions to match the ↵terkhen
train names.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-11-20(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could ↵rubidium
leave a non-drive through road stop at once
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 r21099) -Codechange: Store road vehicle max speed in the vehicle cache.terkhen
2010-11-06(svn r21092) -Codechange: Merge max speed functions.terkhen
2010-10-30(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties ↵terkhen
0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20454) -Fix: some whitespace.frosch
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-08-02(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for ↵terkhen
road vehicles.
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-03-06(svn r19346) -Feature: Configurable slope steepness for road vehicles from ↵terkhen
0% to 10%, default is 7%.
2010-03-06(svn r19345) -Feature: Realistic acceleration for road vehicles.terkhen
2010-03-06(svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its ↵terkhen
own function.
2010-03-06(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.terkhen
-Add: Required acceleration functions at RoadVehicle.
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 r18779) -Codechange: merge the command callbacks of the primary ↵rubidium
vehicles; they are identical
2009-12-18(svn r18531) -Fix [FS#3384] (r18404): for articulated road vehicles only the ↵rubidium
first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should.
2009-12-04(svn r18404) -Codechange: link drive through stops better togetherrubidium
-Feature: make penalty for road stop occupancy user configurable -Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty -Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it -Change: improve the throughput of the drive through road stops by letting them stop closer together